cURL
curl --request PUT \ --url https://www.closient.com/account/api/v1/organizations/{org_id}/members/{member_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "role": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_email": "<string>", "user_name": "<string>", "role": "<string>", "role_display": "<string>" }
Update a member’s role within the organization.
UUID of the organization.
UUID of the membership record.
Request schema for updating a member's role.
New role: owner, manager, editor, billing, or viewer.
OK
Response schema for a membership record.