PUT
/
v1
/
teams
/
{team}
/
member
/
{user}
cURL
curl --request PUT \
  --url https://api.comm.com/api/v1/teams/{team}/member/{user} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "role": "admin"
}'
{
  "success": true,
  "message": "Role updated"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team
string<uuid>
required

The team ID

user
string<uuid>
required

The user ID

Body

application/json

Response

200
application/json

The response is of type object.