staffBulkDelete Mutation
Deletes staff users. 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: [])
staffBulkDelete(ids: [ID!]!): StaffBulkDelete
Returns
Show return type
type StaffBulkDelete {
count: Int!
staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [StaffError!]!
}Arguments
ids
ids · [ID!]!
List of user IDs to delete.
Schema: Saleor 3.23.43. Download SDL.