Skip to main content
POST
/
api
/
v1
/
workspaces
/
{workspace_id}
/
billing
/
cancel
Cancel Subscription
curl --request POST \
  --url https://api.example.com/api/v1/workspaces/{workspace_id}/billing/cancel \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "reason": "too_expensive",
  "reason_text": "<string>"
}
'
{
  "cancel_at": "2023-11-07T05:31:56Z",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Path Parameters

workspace_id
string<uuid>
required

Cookies

riftmap_access
string | null

Body

application/json
reason
enum<string> | null
Available options:
too_expensive,
missing_feature,
switching_competitor,
no_longer_needed,
other
reason_text
string | null
Maximum string length: 500

Response

Successful Response

cancel_at
string<date-time> | null
required
status
string
required