cURL
curl --request PATCH \ --url http://127.0.0.1:3333/v3/workspaces/{workspaceId}/members/{userId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role": "ADMIN" } '
{ "member": { "userId": "<string>", "workspaceId": "<string>", "role": "ADMIN", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "name": "<string>", "email": "<string>", "image": "<string>" } }
Update a workspace member role.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ADMIN
MEMBER
GUEST
Default Response
Show child attributes