Update a workspace
PUT/panel/workspaces/:workspace
Updates a workspace. The accepted fields and validation rules are identical to those for creating one.
If owner_id refers to a user who is not yet a member of the workspace, they are added with the admin role (without approval rights on this endpoint).
success reflects whether the row was actually written, so it can be false when the submitted values match the stored ones.
Request
Responses
- 200
- 401
- 403
- 404
- 422
{"success": <bool>} — reports whether the update or delete actually affected a record, so false is possible.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
The {workspace} UUID in the path does not match any workspace.
The request body failed validation.