Replace User Workspaces Relations
PUT/user/{id}/workspaces
Replaces all workspace relations associated with a user. Passing an empty array removes all existing workspace relations.
Path Parameters
UUID of the user.
Error Responses
Workspace not found, user account inactive, group not found, or invalid group type.
User seat limit exceeded.
External API disabled, missing EXTERNAL_API license, or invalid Authorization token.
User not found.
Internal server error (e.g. invalid enum values in request body).
Request
curl -X PUT "https://{your-domain}/api/ext/user/{id}/workspaces" -H "Authorization: Basic <access_token>" -H "Content-Type: application/json" -d '{}'Response: 200