keelwave
API ReferenceAdmin · Members

Update a member's role

PATCH
/admin/orgs/{orgID}/members/{userID}/role

Owner only. Cannot change an owner's role or promote to owner.

Path Parameters

orgID*string

Organization UUID

userID*string

Member user UUID

Request Body

application/json

Role payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/admin/orgs/string/members/string/role" \  -H "Content-Type: application/json" \  -d '{    "role": "admin"  }'
Empty