Unsubscribe a customer
Cancels the subscription immediately: the status becomes UNSUBSCRIBED, renewals are disabled and a CANCELLATION webhook is sent.
Authentication
Section titled “Authentication”Authorization: Bearer <API token>, required.
Path parameters
Section titled “Path parameters”| Name | Type | Description |
|---|---|---|
customerId |
integer | The customer to cancel. |
Request
Section titled “Request”curl -X POST "https://api.creditcore.io/api/unsubscribe/5812" \ -H "Authorization: Bearer $CREDITCORE_API_TOKEN"Response
Section titled “Response”200 OK with an empty body.