Skip to main content
PATCH
/
v1
/
team
/
members
/
{userId}
/
role
Update a team member's role
curl --request PATCH \
  --url https://api.example.com/v1/team/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

userId
string
required

Body

application/json
role
enum<string>
required
Available options:
developer,
manager,
admin

Response

200

Role updated