Delete Subscription

This API endpoint allows you to delete a subscription by its unique ID. The user must provide the subscription ID in the path parameter and authenticate with a valid token.

Authorization: Bearer YOUR_TOKEN


Expected Behavior:


  • On success, the system will cancel the subscription and return a success message.
  • If the request is invalid or the subscription cannot be deleted, the system will return an error message detailing the issue.
Path Parameters
  • id string
    The unique ID of the subscription to delete.
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).