Channels
Cancel subscription
Cancel a channel subscription programmatically
DELETE
Overview
Requests the cancellation of a channel subscription. Cancellation is not immediate — the channel entersCANCELLATION_PROCESS status and remains active until the end of the already-paid period. After that period, the status changes to CANCELED.
The cancel=true query parameter is required as an explicit cancellation confirmation.
The cancelReason field in the body is optional, but recommended for auditing purposes.
Status after cancellation
The
channelId is obtained from the Create channel endpoint.Authorizations
Secret Key generated in the Hub Message Security panel
Path Parameters
Channel ID (obtained via Create channel)
Example:
"019E4C54B1B375A28970B605CA9B03C3"
Query Parameters
Must be true to confirm the cancellation
Example:
true
Body
application/json
Cancellation reason (optional, but recommended for auditing)
Example:
"Customer closed the company"
Response
Cancellation requested successfully. No content returned.