We are using cookies to improve your experience!

By clicking "Allow all", you agree to use of all cookies. Visit our Privacy Policy to learn more.

Delete Recurring Subscription

DELETE /api/v1/invoices/{invoiceid}/invoicessubscription

Cancel the recurring subscription for an invoice. Future invoices in the series will not be generated.

Path Parameters

Parameter Type Required Description
invoice_id integer Yes The unique ID of the invoice.

Request Example

DELETE /api/v1/invoices/123/invoices_subscription HTTP/1.1
Host: koteshen.com
Authorization: Bearer {access_token}
Content-Type: application/json
Accept: application/json

Response

Status Codes:

  • 204 No Content - Subscription deleted.
  • 401 Unauthorized - Invalid or missing token.
  • 404 Not Found - Invoice or subscription not found.

Success Response (204)

Empty body.