Cancel the subscription at period end

View as Markdown

Schedules the subscription to cancel at the end of the current period. Coverage already paid for stays until periodEnd, then the account reverts to pay-as-you-go (no refund or proration). Reversible with Resume before the period ends. Not available during impersonation.

Authentication

AuthorizationBearer

Your Dial API key, sent as Authorization: Bearer sk_live_...

Response

Cancellation scheduled.
canceledAtPeriodEndboolean
cancelAtinteger or null

Unix timestamp (seconds) the subscription ends.

Errors

401
Unauthorized Error
409
Conflict Error