Skip to main content
POST
Get a link to manage or cancel the workspace's plan

Authorizations

Authorization
string
header
required

A session token from subscriber login, used by subscriber.dev's own apps. Requests about an environment also need its ID in the x-environment-id header. From your own code, use an API key.

Path Parameters

workspaceId
string
required

Response

url
string
required

A Stripe page to open in the browser.

kind
enum<string>
required

checkout: open the URL to start a plan. changed: the existing plan was changed straight away, prorated. portal: open the URL to manage card, invoices or cancel.

Available options:
checkout,
portal,
changed