Backend API
cURL
curl --request PATCH \ --url https://api.wacht.dev/workspaces/{workspace_id}/members/{membership_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role_ids": [ "5555555555", "6666666666" ], "public_metadata": {} } '
{}
Update workspace member roles or metadata.
API key authentication (Bearer token)
Workspace ID (integer as string)
Membership ID (integer as string)
Role IDs to assign (array of integers as strings)
["5555555555", "6666666666"]
Public metadata (custom fields)
Member updated successfully
The response is of type object.
object
Was this page helpful?