# subscriptionDelete

Delete a subscription (only in sandbox mode with no issued invoices)

**Scope required:** standard:write

```graphql
mutation subscriptionDelete ($id: ID!) {
  subscriptionDelete (id: $id) {
      errors
      subscription {
        accountId
        cancellationDate
        createdAt
        currencyId
        currentPeriod
        customFieldsData
        daysLeftInTrial
        endDate
        evergreen
        hasCustomFields
        id
        name
        period
        priceAdjustmentAllowed
        priceAdjustmentLastDate
        priceAdjustmentPercentage
        priceListId
        provisioningRequired
        rampIntervalMonths
        renewalSummary
        renewalTermMonths
        startDate
        trialEndDate
        trialPeriod
        trialStartDate
        updatedAt
      }
  }
}
```

## Arguments

```json
{
  "id": "456123"
}
```

| Name | Type | Description |
| ---- | ---- | ----------- |
| id   | ID   |             |

## Response

| Name         | Type                                                                              | Description |
| ------------ | --------------------------------------------------------------------------------- | ----------- |
| errors       | List (String)                                                                     |             |
| subscription | [Subscription](https://docs.bunny.com/developer/api-reference/types/subscription) |             |
