Skip to main content
Version: 3.x

StaffBulkDelete

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

Requires MANAGE_STAFFpermission.

Triggers the following webhook events:

  • STAFF_DELETED (async): A staff account was deleted.
type StaffBulkDelete {
count: Int!
staffErrors: [StaffError!]! @deprecated
errors: [StaffError!]!
}

Fields

StaffBulkDelete.count ● Int! non-null scalar

Returns how many objects were affected.

StaffBulkDelete.staffErrors ● [StaffError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

StaffBulkDelete.errors ● [StaffError!]! non-null object

Returned by

staffBulkDelete mutation


Was this page helpful?