Remove the generic subscription
DELETE/panel/workspaces/:workspace/subscription/generic
Removes the workspace's generic subscription. The request takes no body.
If the workspace has no generic subscription, the request fails with 422 — note that this endpoint's error body is flat ({"message": "..."}) and has no errors object, unlike other 422 responses in this API.
Request
Responses
- 200
- 401
- 403
- 404
- 422
{"success": true} — hard-coded literal, never false.
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 workspace has no generic subscription: {"message": "This workspace does not have a generic subscription."}. Note this body is flat — there is no errors object, unlike other 422 responses.