security iam task abort

You can use this command to forcefully abort a resource task with not started status.

Syntax

CLI
IMPORTANT
  • This operation is only supported on primary cluster group. Only existing Tasks with status NotStarted can be aborted.
  • Task ID is represented in <Policy ID> .<Statement ID>.<Sequence ID> format.
maprcli security iam task abort -id <Task ID>

Parameters

Parameter Description
-id ID of the Task to be aborted.

Example

maprcli security iam task abort -id 1.2.0 -json
{
        "timestamp":1726570360894,
        "timeofday":"2024-09-17 03:52:40.894 GMT-0700 AM",
        "status":"OK",
        "total":0,
        "data":[

        ],
        "messages":[        
                "IAM Task '1.2.0' aborted successfully"
        ]
}