Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

staffDelete Mutation

Deletes a staff user. 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

@webhookEventsInfo(asyncEvents: [STAFF_DELETED], syncEvents: [])
staffDelete(id: ID!): StaffDelete

Returns

StaffDelete

Show return type
type StaffDelete {
  staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [StaffError!]!
  user: User
}

Arguments

id

id · ID!

ID of a staff user to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?