API referenceTenants and plans
PATCH /tenants/{tenantId}/members/{userId}
PATCH /tenants/{tenantId}/members/{userId}: OrkStage Control API v1 endpoint reference.
PATCH
header
AuthorizationBearer <token>Organization API key (scoped). Sessions use the cookie instead.
tenantId*stringuserId*stringx-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
role*stringValue in
"CustomerOwner""CustomerAdmin""CustomerDeveloper""CustomerViewer"curl -X PATCH 'http://localhost:4300/api/v1/tenants/string/members/string' \ -H 'Content-Type: application/json' \ -d '{ "role": "CustomerOwner"}'Empty