Skip to main content
POST
Cancel Subscription

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json

Request body for canceling a subscription

website_id
string<uuid>
required

The ID of the website to cancel the subscription for

Example:

"123e4567-e89b-12d3-a456-426614174000"

product_id
string
required

The ID of the product/subscription to cancel

Example:

"pro_monthly"

Response

Subscription cancelled successfully

success
boolean
required

Whether the cancellation was successful