Skip to content

Unsubscribe a customer

Cancels the subscription immediately: the status becomes UNSUBSCRIBED, renewals are disabled and a CANCELLATION webhook is sent.

Authorization: Bearer <API token>, required.

Name Type Description
customerId integer The customer to cancel.
Terminal window
curl -X POST "https://api.creditcore.io/api/unsubscribe/5812" \
-H "Authorization: Bearer $CREDITCORE_API_TOKEN"

200 OK with an empty body.