API referenceTenants and plans
POST /tenants
POST /tenants: OrkStage Control API v1 endpoint reference.
POST
header
AuthorizationBearer <token>Organization API key (scoped). Sessions use the cookie instead.
x-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
name*stringLength
2 <= length <= 80slug*stringMatch
^[a-z][a-z0-9-]{1,40}$limits?Default
{}allowedEmailDomains?array<string>Default
[]curl -X POST 'http://localhost:4300/api/v1/tenants' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "slug": "string"}'Empty