Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.Requires permission to access the CancelAuditTask action.
Request
Path Params
Responses
🟢200Success
application/json
Body
🟠480ResourceNotFoundException
🟠481InvalidRequestException
🟠482ThrottlingException
🟠483InternalFailureException
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request PUT 'https://api.iotwireless.{region}.amazonaws.com/audit/tasks//cancel'