Custom Domain
API referenceTenancy

Create a tenant

POST
/tenants

Operator provisioning endpoint. Requires the management key in production.

Authorization

managementKey
AuthorizationBearer <token>

Operator management key. Gates provisioning + reads across tenants.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/tenants" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "created_at": "2019-08-24T14:15:22Z"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}