Skip to main content
DELETE
/
stripe
/
connect
/
accounts
/
{accountId}
/
subscriptions
/
{subscriptionId}
Delete Subscription
curl --request DELETE \
  --url https://api.chat-dash.com/v1/public/stripe/connect/accounts/{accountId}/subscriptions/{subscriptionId} \
  --header 'Authorization: <authorization>'
{
  "id": "sub_1ABC123DEF456GHI",
  "canceled": true
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

accountId
string
required

The Stripe connected account ID

subscriptionId
string
required

The Stripe subscription ID

Response

OK

id
string

The subscription ID that was deleted

Example:

"sub_1ABC123DEF456GHI"

canceled
boolean

Indicates the subscription was successfully canceled

Example:

true