Auditmark
Api referencetemplates/template_id/publish

Publish

POST
/templates/{template_id}/publish

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

Response Body

application/json

application/json

curl -X POST "https://example.com/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/publish"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a",  "version": 0,  "status": "string",  "layout_mode": "string",  "correction_mode": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}