Audits

Add a section to an audit

POST
/audits/{id}/sections

Appends a new section to a custom or template-based audit. Requires the Auditor role.

Authorization

SupabaseBearer
AuthorizationBearer <token>

Supabase user access token (Authorization: Bearer JWT)

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/audits/497f6eca-6276-4993-bfeb-53cbbbba6f08/sections" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
Empty
Empty
Empty
{  "message": "string"}