API referenceTenants and plans
POST /tenants/{tenantId}/invitations
POST /tenants/{tenantId}/invitations: OrkStage Control API v1 endpoint reference.
POST
header
AuthorizationBearer <token>Organization API key (scoped). Sessions use the cookie instead.
tenantId*stringx-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailLength
length <= 254role*stringValue in
"CustomerOwner""CustomerAdmin""CustomerDeveloper""CustomerViewer"curl -X POST 'http://localhost:4300/api/v1/tenants/string/invitations' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "role": "CustomerOwner"}'Empty