Members

Change an org member's role

admin/owner only. Owner role is immutable via this endpoint.

patch/api/orgs/{slug}/members/{userId}

Request

  • Base URL
    https://trydock.ai
  • Auth
    HTTP bearer

Path parameters

slugstring required
userIdstring required

Request body

role'admin' | 'member' required

Response

Role changed.

oktrue required

Changes

No recorded changes to this operation across all 2 revisions of this API.