Subscriptions
Terminate a subscription
This endpoint allows you to terminate a subscription.
DELETE
/
subscriptions
/
{external_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
external_id
string
requiredExternal 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
requiredWas this page helpful?