---
description: Graphql fields and variables for the roleDelete mutation
---

# roleDelete

Delete a role

**Scope required:** security:write

```graphql
mutation roleDelete ($id: ID!) {
  roleDelete (id: $id) {
      errors
      role {
        id
        name
      }
  }
}
```

## Arguments

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

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

## Response

| Name   | Type                                   | Description |
| ------ | -------------------------------------- | ----------- |
| errors | String                                 |             |
| role   | [Role](../../api-reference/types/role) |             |
