Skip to main content
Version: 3.x

StaffDelete

Deletes a staff user. 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 StaffDelete {
staffErrors: [StaffError!]! @deprecated
errors: [StaffError!]!
user: User
}

Fields

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

DEPRECATED

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

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

StaffDelete.user ● User object

Returned by

staffDelete mutation


Was this page helpful?