OrkStageOrkStage
API referenceTenants and plans

POST /tenants

POST /tenants: OrkStage Control API v1 endpoint reference.

POST
/api/v1/tenants

Authorization

headerAuthorizationBearer <token>

Organization API key (scoped). Sessions use the cookie instead.

Header Parameters

x-orkstage-csrf?unknown

Cookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.

Request Body

application/json
  1. body
name*string
Length2 <= length <= 80
slug*string
Match^[a-z][a-z0-9-]{1,40}$
limits?
Default{}
allowedEmailDomains?array<string>
Default[]

Response Body

curl -X POST 'http://localhost:4300/api/v1/tenants' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "slug": "string"}'
Empty