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} \
--header 'Authorization: Bearer <token>'{
"type": "unprocessable_entity",
"code": "active_subscriptions_exist",
"message": "Cannot delete billing account with active subscriptions.",
"doc_url": "https://docs.altostrat.io/errors/active_subscriptions_exist"
}Permanently deletes a billing account. This action cannot be undone. A billing account cannot be deleted if it has any active subscriptions.
curl --request DELETE \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId} \
--header 'Authorization: Bearer <token>'{
"type": "unprocessable_entity",
"code": "active_subscriptions_exist",
"message": "Cannot delete billing account with active subscriptions.",
"doc_url": "https://docs.altostrat.io/errors/active_subscriptions_exist"
}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 billing account was successfully deleted.
Was this page helpful?