Auditmark

Save as preset

POST
/report-layouts/{layout_id}/save-as-preset

Clone an OWN-ORG layout's content into a new org LIBRARY layout (template_family_id null, fresh block ids). A system or cross-tenant source is not readable -> 404.

Authorization

OrgApiKey
AuthorizationBearer <token>

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

In: header

Path Parameters

layout_id*Layout 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/report-layouts/497f6eca-6276-4993-bfeb-53cbbbba6f08/save-as-preset" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}