CreateUserInput
CreateUserInput
CreateUserInput
Input for creating a new user in the system.
Note: If username is provided, either password must be set or issueTempPassword must be true.
Kind: Input
Fields
| Field | Type | Description |
|---|---|---|
email |
EmailAddress |
Email address of the user (must be valid email format) |
externalId |
String |
Optional external system identifier for the user |
groupIds |
[String!]! |
List of group IDs the user should belong to |
name |
String! |
Full name of the user |
phone |
PhoneNumber |
Phone number of the user (must be valid phone format - example: +12345678901) |
username |
String |
Unique username for authentication. If provided, a temporary password will be returned in the response |
Definition
"""
Input for creating a new user in the system.
Note: If username is provided, either password must be set or issueTempPassword must be true.
"""
input CreateUserInput {
"""Email address of the user (must be valid email format)"""
email: EmailAddress
"""Optional external system identifier for the user"""
externalId: String
"""List of group IDs the user should belong to"""
groupIds: [String!]!
"""Full name of the user"""
name: String!
"""
Phone number of the user (must be valid phone format - example: +12345678901)
"""
phone: PhoneNumber
"""
Unique username for authentication. If provided, a temporary password will be returned in the response
"""
username: String
}