Audits

Discard a draft audit

DELETE
/audits/{id}

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
Formatuuid

Response Body

application/json

curl -X DELETE "https://example.com/audits/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
{  "message": "string"}
Empty