OrkStageOrkStage
API referenceTenants and plans

PATCH /tenants/{tenantId}/members/{userId}

PATCH /tenants/{tenantId}/members/{userId}: OrkStage Control API v1 endpoint reference.

PATCH
/api/v1/tenants/{tenantId}/members/{userId}

Authorization

headerAuthorizationBearer <token>

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

Path Parameters

tenantId*string
userId*string

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
role*string
Value in"CustomerOwner""CustomerAdmin""CustomerDeveloper""CustomerViewer"

Response Body

curl -X PATCH 'http://localhost:4300/api/v1/tenants/string/members/string' \  -H 'Content-Type: application/json' \  -d '{  "role": "CustomerOwner"}'
Empty