Audits
Cancel an audit
Stops an audit that has not finished and returns it. Answers already recorded are kept. Send an Idempotency-Key header so a retry within 24 hours never runs it twice.
POST/v1/projects/{project_id}/audits/{audit_id}/cancel
Needs the audits:run scope
Stops an audit that has not finished and returns it. Answers already recorded are kept. Send an Idempotency-Key header so a retry within 24 hours never runs it twice.
Path parameters
| Parameter |
|---|
project_id |
audit_id |
Headers
| Parameter |
|---|
Idempotency-Key |
Response 200: Audit