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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The team ID
The user ID
The response is of type object.
object