POST
/
subscriptions
/
{id}
/
cancel
curl --request POST \
  --url https://api.cloud.flexprice.io/v1/subscriptions/{id}/cancel \
  --header 'x-api-key: <api-key>'
{}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

id
string
required

Subscription ID

Query Parameters

cancel_at_period_end
boolean

Cancel at period end

Response

200
application/json
OK
{key}
object