security iam task abort

Aborts a resource task with not started status.

Syntax

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

maprcli security iam task abort -id <Task ID>
NOTE
This operation is only supported on primary cluster group. Only existing Tasks with status NotStarted can be aborted.
NOTE
Task ID is represented in <Policy ID> .<Statement ID>.<Sequence ID>
format.
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"
        ]
}