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

# staffBulkDelete Mutation

Deletes staff users. 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
staffBulkDelete(
  ids: [ID!]!
): StaffBulkDelete
```

Details

```graphql
type StaffBulkDelete {
  count: Int!
  staffErrors: [StaffError!]! @deprecated
  errors: [StaffError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="ids"></a>

#### [`ids`](#ids) ● [`[ID!]!`](/api-reference/miscellaneous/scalars/id.md)

List of user IDs to delete.

<a id="type"></a>

### Type

<a id="staffbulkdelete"></a>

#### [`StaffBulkDelete`](/api-reference/users/objects/staff-bulk-delete.md)

Deletes staff users. 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.
