cURL
curl --request PATCH \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/members/{user_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "role": "<string>" } '
{ "avatar_url": "<string>", "email": "<string>", "full_name": "<string>", "joined_at": "2023-11-07T05:31:56Z", "role": "<string>", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Change a member’s role. Cannot demote the last Owner.
Documentation IndexFetch the complete documentation index at: https://docs.riftmap.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response