v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

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.

put/audit/tasks/{taskId}/cancel

Path parameters

taskIdstring required

The ID of the audit you want to cancel. You can only cancel an audit that is "IN_PROGRESS".

Response

Success

CancelAuditTaskResponse required