cURL
curl --request PATCH \ --url https://api.example.com/orgs/{org_id}/members/{target_user_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role": "<string>" } '
{ "id": "<string>", "user_id": "<string>", "role": "<string>", "created_at": "<string>", "email": "<string>", "full_name": "<string>", "invited_by": "<string>" }
Change a member’s role. Requires admin or owner.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response