Skip to main content

Manually update the recorded subscription

PUT 

/panel/workspaces/:workspace/subscription

Updates the workspace's recorded default subscription directly. No payment platform is contacted, so this changes only what Mixpost has stored.

Only platform_plan_id, status, trial_ends_at and paused_from can be changed. trial_ends_at and paused_from are always overwritten from the request, so omitting either resets it to null. Send the current value to keep it.

success reflects whether the row was actually written, so it can be false when nothing changed.

Request

Responses

{"success": <bool>} — reports whether the update or delete actually affected a record, so false is possible.