> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/objects/staff-delete

# StaffDelete Object

Deletes a staff user. Apps are not allowed to perform this mutation.

Requires the MANAGE\_STAFF permission.

Triggers the following webhook events:

-   STAFF\_DELETED (async): A staff account was deleted.

```graphql
type StaffDelete {
  staffErrors: [StaffError!]! @deprecated
  errors: [StaffError!]!
  user: User
}
```

<a id="fields"></a>

### Fields

<a id="errors"></a>

#### [`errors`](#errors) ● [`[StaffError!]!`](/api-reference/users/objects/staff-error.md)

<a id="user"></a>

#### [`user`](#user) ● [`User`](/api-reference/users/objects/user.md)

Show deprecatedHide deprecated

<a id="staff-errors"></a>

#### [`staffErrors`](#staff-errors) ● [`[StaffError!]!`](/api-reference/users/objects/staff-error.md)

DEPRECATED

Use `errors` field instead.

<a id="returned-by"></a>

### Returned By

[`staffDelete`](/api-reference/users/mutations/staff-delete.md) mutation
