Workspaces
Workspace administration. Mixpost Enterprise only — served under /panel
and restricted to admin users.
List workspaces
Returns a paginated list of workspaces, newest first by creation date.
Create a workspace
Creates a workspace.
Delete multiple workspaces
Deletes several workspaces at once, matching them by UUID. Each workspace's subscription teardown is queued in the background.
Get a workspace
Returns a single workspace with its `owner`, its `users` and its generic subscription plan.
Update a workspace
Updates a workspace. The accepted fields and validation rules are identical to those for creating one.
Delete a workspace
Deletes a workspace. The subscription is torn down synchronously before the workspace is removed; the remaining workspace-data cleanup runs in the background.
Attach a user to a workspace
Adds an existing user to the workspace with the given role.
Update a workspace user's role
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.
Detach a user from a workspace
Removes a user from the workspace. Only `user_id` is required, and it must match an existing user.
Get a workspace's AI credit balance
Returns the workspace's AI credit availability.