Skip to main content
POST
Upgrade workspace

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
tier
enum<string>
Available options:
pro,
max,
cloud,
desktop,
api
billingCycle
enum<string>
Available options:
monthly,
yearly
requestId
string
returnPath
string

Internal return path beginning with /.

Response

Successful response

Existing subscription updated in place.

updated
boolean
required
tier
string
required
stripeSubscriptionId
string
required
billingCycle
string