Skip to main content

Deleting a Subscription

DELETE /subscriptions/{subscription_id}

Request

A subscription can be removed by sending a DELETE request to the /subscriptions/{subscription_id} resource.

Sample Request

curl -X DELETE https://TENANT_NAME.mambu.com/api/v1/subscriptions/071569bc-89f2-4b52-8277-6ed9614ffbb3

Response

The possible responses for the delete are:

  • 204: The subscription has been successfully deleted.
  • 404: The subscription does not exist, along with this error message a response body is received.

Sample Response

{
"title": "Not Found",
"status": 404,
"detail": "Subscription with id \"071569bc-89f2-4b52-8277-6ed9614ffbb3\" does not exist"
}