Skip to main content

Update a workspace user's role

PUT 

/panel/workspaces/:workspace/users

Updates an existing member's role, approval rights and ownership within the workspace. Ownership is set or cleared using the same rules as when attaching a user.

Note: unlike attaching, this endpoint does not check that the user is already a member. Calling it for a non-member changes nothing but still returns {"success": true}, so it cannot be used to confirm membership.

Request

Responses

{"success": true} — hard-coded literal, never false.