v1

latestOpenAPI 3.1.02026-07-2295105298.6 KB
Billing

Cancel Subscription

Cancels a subscription for a specific website. The subscription will remain active until the end of the current billing period.

post/api/v1/subscriptions/cancel

Request body

website_idstring uuid required

The ID of the website to cancel the subscription for

product_idstring required

The ID of the product/subscription to cancel

Example request

{
  "website_id": "123e4567-e89b-12d3-a456-426614174000",
  "product_id": "pro_monthly"
}

Response

Subscription cancelled successfully

successboolean required

Whether the cancellation was successful