Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.Requires permission to access the CancelAuditMitigationActionsTask action.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request PUT 'https://api.iotwireless.{region}.amazonaws.com/audit/mitigationactions/tasks//cancel'
Response Response Example
200 - Example 1
{}
Request
Path Params
taskId
stringÂ
required
The unique identifier for the task that you want to cancel.