security iam task abort
Forcefully aborts a resource task with not started status based
on the task ID.
You can use this command to forcefully abort a resource task with
not started status.
- CLI
-
IMPORTANTThis operation is only supported on primary cluster group. Only existing tasks with status
NotStartedcan be aborted.maprcli security iam task abort -id <Task ID> - REST
-
Request Type POST Request URL http[s]://<host>:<port>/rest/iam/task/abort?<id>
Parameters
| Parameter | Description |
|---|---|
-id |
(Required) The task ID, represented
in <Policy ID> .<Statement
ID>.<Sequence ID> format. |
Example
Abort task with task ID 1.2.0
CLI
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"
]
}
REST
curl -u <username> -X POST https://server.sj.us:8443/rest/security/iam/task/abort?id=1.2.0