Auditmark

Update a version's questions

PATCH
/templates/{template_id}/content

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

template_id*Template Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Body of PATCH /templates/{template_id}/content.

Response Body

application/json

application/json

curl -X PATCH "https://api.auditmark.io/v1/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/content" \  -H "Content-Type: application/json" \  -d '{    "content": {},    "base_version": 0  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a",  "version": 0,  "status": "string",  "layout_mode": "string",  "correction_mode": "string",  "requires_sign_off": true,  "requires_approval": true,  "inspector_initiable": true,  "language": "en",  "rtl": false,  "content": {},  "content_version": 0,  "has_unpublished_changes": false,  "evidence_notes_on_answers": true,  "evidence_photos_on_answers": true,  "evidence_annotate_photos": true}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}