staffDelete Mutation
Deletes a staff user. Apps are not allowed to perform this mutation.
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
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.