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

Path parameters
Parameter
project_idstring (uuid)pathrequired
audit_idstring (uuid)pathrequired

Headers

Headers
Parameter
Idempotency-Keystringheaderrequired

Response 200: Audit