Auditmark

Create a report layout for a template

POST
/templates/families/{family_id}/report-layouts

Create a family-bound layout: seed from the engine default, or clone from_layout_id.

Authorization

OrgApiKey
AuthorizationBearer <token>

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

In: header

Path Parameters

family_id*Family Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.auditmark.io/v1/templates/families/497f6eca-6276-4993-bfeb-53cbbbba6f08/report-layouts" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "template_family_id": "290e2e3d-b358-4141-b04d-2f3e9b65d632",  "is_default": true,  "version": 0,  "origin": "string",  "shell_key": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}