Management APIs
cURL
curl --request PATCH \ --url https://api.basic.tech/team/{team_id}/member/{member_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "roles": "<string>", "role_name": "<string>" } '
{ "data": { "team_id": "<string>", "account_id": "<string>", "roles": "<string>", "role_name": "<string>" } }
Updates a team member’s roles or role_name
JWT Authorization Token header using the Bearer scheme
The ID of the team
The ID of the member to update
The new roles for the team member
The new display name for the role
Member updated successfully
Show child attributes