# tenantDelete

Delete a tenant

**Scope required:** product:write

```graphql
mutation tenantDelete ($id: ID!) {
  tenantDelete (id: $id) {
      errors
      tenant {
        accountId
        code
        createdAt
        customFieldsData
        hasCustomFields
        id
        lastLogin
        lastSuccessfulWebhookAt
        lastWebhookStatus
        name
        platformId
        subdomain
        updatedAt
        userCount
        utilizationMetrics
      }
  }
}
```

## Arguments

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

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

## Response

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