Cancel subscription
Enterprise Only
This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.
Payment Platform Required
This endpoint is only available if a payment platform (Stripe, Paddle, etc.) has been configured in Mixpost.
Method: POST
URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/workspaces/{workspaceUuid}/subscription/cancel
Authorization: Bearer <token>
Response:
- 200
- 401
- 403
- 404
- 422
{
"success": true
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}
{
"message": "Validation errors",
"errors": {
"subscription": ["This workspace does not have an active subscription."]
}
}