Skip to main content

StaffDelete Object

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

Fields​

errors ● [StaffError!]!​

user ● User​

Show deprecatedHide deprecated

staffErrors ● [StaffError!]!​

DEPRECATED

Use errors field instead.

Returned By​

staffDelete mutation