billing

Move a subscription onto another plan

Changed on

Safes in removedSafes are removed from the workspace first, then the plan changes. If the plan change fails after that, the answer is 502 and sending the same request again finishes it.

patch/v1/billing/spaces/{spaceId}/subscriptions/{subscriptionId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

subscriptionIdstring required

Subscription identifier

spaceIdstring required
Example:123e4567-e89b-12d3-a456-426614174000

Space UUID

Request body

planIdstring required

The price id of the plan to move the subscription onto

paymentLinkIdstring

Which offered payment link sells that plan. Only needed to disambiguate when several do

Response

subscriptionIdstring required
successboolean required

Changes