Cancel subscription

cancelSubscription: CancelSubscriptionPayload

Requires account.billing.manage.

Arguments

This operation takes no arguments.

Response

Returns CancelSubscriptionPayload. Open the type for its fields and nested types.

FieldTypeDescription
idID!ID of the canceled subscription
statusString!Subscription status after the cancellation request
expiresAtStringEnd of the paid period, when the subscription ends. Cancellation downgrades the account to the free tier.
canceledAtStringWhen the cancellation was requested

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
mutation CancelSubscription {  cancelSubscription {    id    status    canceledAt    expiresAt  }}
variables.json
{}