Skip to Content
Billing

Cancel the Subscription

Owner only. Cancels at the end of the paid period; the Account then moves to Free. Nothing is removed: Devices and people over the Free limits stay, and new ones wait until the Network is under them. 409 billed_by_partner on a partner Network.

POST
/accounts/{account_id}/subscription/cancel

Owner only. Cancels at the end of the paid period; the Account then moves to Free. Nothing is removed: Devices and people over the Free limits stay, and new ones wait until the Network is under them. 409 billed_by_partner on a partner Network.

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string

Response Body

OK

application/json
  1. response
plan*PlanId

partner: partner Networks only; not listed in /plans and not for sale

Value in"free""unlimited""unlimited_1tb""unlimited_5tb""partner"
interval?|
Value in"month""year"null
status*string

partner: billed by the Partner that created the Network

Value in"free""active""past_due""canceled""partner"
current_period_start?|
Formatdate-time
current_period_end?|
Formatdate-time
cancel_at_period_end?boolean
Example Request
curl -X POST 'https://tiltas.openpanel.sh/api/v1/accounts/string/subscription/cancel'
Example Response
{  "plan": "free",  "interval": "month",  "status": "free",  "current_period_start": "2019-08-24T14:15:22Z",  "current_period_end": "2019-08-24T14:15:22Z",  "cancel_at_period_end": true}