Set member workspace access
PUT/v1/dashboard_users/:id/workspaces
Replaces the member set of workspaces. Nobody changes their own access (400), only an owner changes an owner access, and only an owner grants or revokes a workspace they cannot open themselves (403). A machine token may grant any workspace but never changes an owner access. Removing the last owner of a workspace answers 403.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Workspaces of the organization with the member access.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Rate limit exceeded.
Unexpected server error.