StaffCreateInput Input Type
Fields required to create a staff user.
input StaffCreateInput {
firstName: String
lastName: String
email: String
isActive: Boolean
note: String
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
addGroups: [ID!]
redirectUrl: String
}
Fields
firstName
firstName · String
Given name.
lastName
lastName · String
Family name.
email · String
The unique email address of the user.
isActive
isActive · Boolean
User account is active.
note
note · String
A note about the user.
metadata
metadata · [MetadataInput!]
Fields required to update the user metadata. Can be read by any API client authorized to read the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
privateMetadata
privateMetadata · [MetadataInput!]
Fields required to update the user private metadata. Requires permissions to modify and to read the metadata of the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
addGroups
addGroups · [ID!]
List of permission group IDs to which user should be assigned.
redirectUrl
redirectUrl · String
URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
Used by
Schema: Saleor 3.23.43. Download SDL.