Cancelling a subscription
Learn how to cancel a subscription by the subscription identifiers.
The following
POST /v1/subscriptions/{subscriptionId}/cancel
request cancels the subscription by the subscription identifier. You need to provide the subscriptionId
and set suppressCancelNotification
to true
.cURL
curl --location --request POST 'https://{host}>/v1/subscriptions/{subscriptionId}/cancel' \
--header 'Content-Type: application/json' \
--header 'authorization: bearer ***\
--data-raw '{
"suppressCancelNotification": true
}'
You will receive a
202 Accepted
response.
Last modified 10mo ago