Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request DELETE \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>'{
"type": "conflict_error",
"code": "cancellation_would_underprovision",
"message": "Cannot delete subscription. Deleting it would leave the account under-provisioned for 'locations'. Current usage: 5, remaining capacity after deletion: 0.",
"doc_url": "https://docs.altostrat.io/errors/cancellation_would_underprovision"
}Cancels a subscription at the end of the current billing period. This operation cannot be performed if it would leave the workspace or billing account with insufficient capacity for its current resource usage.
curl --request DELETE \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>'{
"type": "conflict_error",
"code": "cancellation_would_underprovision",
"message": "Cannot delete subscription. Deleting it would leave the account under-provisioned for 'locations'. Current usage: 5, remaining capacity after deletion: 0.",
"doc_url": "https://docs.altostrat.io/errors/cancellation_would_underprovision"
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The ID of the billing account, which corresponds to a Stripe Customer ID (cus_...).
"cus_a1b2c3d4e5f6g7h8"
The ID of the Stripe subscription (sub_...).
"sub_a1b2c3d4e5f6g7h8"
The subscription was successfully scheduled for cancellation.
Was this page helpful?