Skip to main content

staffBulkDelete Mutation

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

Requires the MANAGE_STAFFpermission.

Triggers the following webhook events:

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

Arguments

ids ● [ID!]!

List of user IDs to delete.

Type

StaffBulkDelete

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

Requires the MANAGE_STAFFpermission.

Triggers the following webhook events:

  • STAFF_DELETED (async): A staff account was deleted.