Auditmark

Create location

POST
/locations

Authorization

OrgApiKey
AuthorizationBearer <token>

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

In: header

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/locations" \  -H "Content-Type: application/json" \  -d '{    "client_account_id": "219adf14-412b-4051-82f8-967a3418e740",    "name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "client_account_id": "219adf14-412b-4051-82f8-967a3418e740",  "name": "string",  "source": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}