Audits

Initialize an audit template profile

POST
/audit-templates

Creates a draft audit template linked to a compliance framework. Requires Auditor or Audit Manager role.

Authorization

SupabaseBearer
AuthorizationBearer <token>

Supabase user access token (Authorization: Bearer JWT)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/audit-templates" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "framework_id": "4c1c36c9-0232-44b3-bdd8-4bdb3daaf53b"  }'
Empty
Empty
Empty
{  "message": "string"}
Empty