Auditmark

Set a location's templates

PUT
/locations/{location_id}/templates

Authorization

OrgApiKey
AuthorizationBearer <token>

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

In: header

Path Parameters

location_id*Location Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://api.auditmark.io/v1/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08/templates" \  -H "Content-Type: application/json" \  -d '{    "family_ids": [      "f446255b-fafc-4a8d-8b5a-c2f692924afb"    ]  }'
{  "applied": 0,  "skipped_synced": 0,  "skipped_other": 0}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}