PATCH
Update Subscription

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de requête

workspaceId
string
requis

Corps

application/json
returnUrl
string
requis
plan
enum<string>
requis
Options disponibles:
CORE,
SCALE,
DEDICATED
forceCheckout
boolean
currency
string
replacePendingCheckout
boolean

Explicitly use the purchase-intent protocol. When enabled for the workspace, an unpaid previous offer/provider may be superseded; verified late funds require reconciliation and never activate a second plan.

Réponse

Default Response

workspace
object | null
checkoutUrl
string | null