cURL
curl --request PATCH \ --url https://api.getgranite.ai/api/organizations/{organization_id}/members/{member_id}/role \ --header 'Content-Type: application/json' \ --data ' { "role": "<string>" } '
{ "status": "<string>", "message": "<string>", "member_id": "<string>", "role": "<string>" }
Update the role of an organization member
Request to update a member's role
New role to assign (admin, editor, viewer)
Successful Response
Response from updating a member's role
Update status
Status message
Unique member identifier
Updated role