Audits
Discard a draft audit
Permanently deletes a brand-new draft audit (cascading to its sections and questions). Only permitted while the audit is in DRAFT status and requires the Auditor or Audit Manager role.
Authorization
SupabaseBearer AuthorizationBearer <token>
Supabase user access token (Authorization: Bearer JWT)
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
curl -X DELETE "https://example.com/audits/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
Empty
{ "message": "string"}Empty