> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/mutations/cancel-subscription.md).

# cancelSubscription

### Arguments

| Argument                                                                                                                           | Description                       |
| ---------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| input ([CancelSubscriptionInput](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/cancel-subscription-input.md)!) | Parameters for CancelSubscription |

### CancelSubscriptionInput Arguments

| Argument                                                                                                                    | Description                                                                               |
| --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| token ([ID](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/id.md))                                       | The token of the subscription to cancel, only needed if a project access token is used.   |
| id ([ID](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/id.md))                                          | The ID of the subscription to cancel, only needed if a project access token is used.      |
| skipTwoStepCancellation ([Boolean](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/boolean.md))           | If two-step cancellation is enabled it can be skipped                                     |
| skipCancellationConfirmationEmail ([Boolean](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/boolean.md)) | Skip sending the standard cancellation confirmation email to the customer.                |
| cancellationNotes ([String](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/string.md))                   | Why did this customer decide to cancel?                                                   |
| skipContractTermsEnforcement ([Boolean](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/boolean.md))      | If a customer cannot be cancelled due to active commitments, this process can be skipped. |

### Return fields

#### errors (\[[ModelValidationError](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/model-validation-error.md)!]!)

#### subscription ([Subscription](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/subscription.md))
