Skip to Content
Omnibase

Remove a subscription from the tenant

DELETE
/api/v1/tenants/subscriptions

Authorization

headerX-Session-Token<token>

Kratos session JWT token. Alternative to cookie authentication for non-browser clients.

Request Body

application/json
  1. body
plan_id*string
Length1 <= length
stripe_customer_id?string
Length1 <= length

Response Body

OK

application/json
  1. response
message*string
status*string
subscription_id*string
Example Request
curl -X DELETE 'https://api.omnibase.tech/api/v1/tenants/subscriptions' \  -H 'Content-Type: application/json' \  -d '{  "plan_id": "price_test_basic"}'
Example Response
{  "message": "string",  "status": "string",  "subscription_id": "string"}