DELETE
/
subscriptions
/
{external_id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

external_id
string
required

External ID of the existing subscription

Query Parameters

status
string

If the field is not defined, Lago will terminate only active subscriptions. However, if you wish to cancel a pending subscription, please ensure that you include status=pending in your request.

Response

200 - application/json
subscription
object
required