---
title: StaffBulkDelete Object
seo:
  title: StaffBulkDelete Object
  description: 'Object: StaffBulkDelete Object'
slug: api-reference/users/objects/staff-bulk-delete
sidebar:
  label: StaffBulkDelete
search:
  tags:
    - API reference
    - Users
lastModified: '2026-04-13'
---

Deletes staff users. Apps are not allowed to perform this mutation. 



Requires one of the following permissions: `MANAGE_STAFF`.



Triggers the following webhook events:
- STAFF_DELETED (async): A staff account was deleted.



**Applied directives**

```graphql
@webhookEventsInfo(asyncEvents: [STAFF_DELETED], syncEvents: [])
```



```graphql
type StaffBulkDelete {
  count: Int!
  staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [StaffError!]!
}
```


## Fields

### count [#count]

**`count`** · [`Int!`](/api-reference/miscellaneous/scalars/int)

Returns how many objects were affected.
### staffErrors [#staff-errors]

**`staffErrors`** · [`[StaffError!]!`](/api-reference/users/objects/staff-error)



:::warning[Deprecated]
Use `errors` field instead.
:::

### errors [#errors]

**`errors`** · [`[StaffError!]!`](/api-reference/users/objects/staff-error)



## Used by

- [staffBulkDelete (mutations)](/api-reference/users/mutations/staff-bulk-delete)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
