Skip to main content
PATCH
/
api
/
v1
/
organizations
/
{orgId}
/
members
/
{userId}
/
role
Update member role
curl --request PATCH \
  --url https://api.example.com/api/v1/organizations/{orgId}/members/{userId}/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required
userId
string
required

Body

application/json
role
enum<string>
required
Available options:
member,
page_guest

Response

200 - undefined