Skip to main content

staffCreate Mutation

Creates a new staff user. Apps are not allowed to perform this mutation.

Requires MANAGE_STAFFpermission.

Triggers the following webhook events:

  • STAFF_CREATED (async): A new staff account was created.
  • NOTIFY_USER (async): A notification for setting the password.
  • STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested.
staffCreate(
input: StaffCreateInput!
): StaffCreate

Arguments

staffCreate.input ● StaffCreateInput! non-null input users

Fields required to create a staff user.

Type

StaffCreate object users

Creates a new staff user. Apps are not allowed to perform this mutation.

Requires MANAGE_STAFFpermission.

Triggers the following webhook events:

  • STAFF_CREATED (async): A new staff account was created.
  • NOTIFY_USER (async): A notification for setting the password.
  • STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested.