Create User

Create user in Google Workspace.

For more information, refer to the Google API document

Input

Field Definition Type Required
User
First Name User's first name String TRUE
Last Name User's last name String TRUE
Primary Email User's primary email address (must be unique and cannot be an alias of another user) String TRUE
Notes Notes for the user String FALSE
Is Admin? Indicator if the user has super administrator privileges (this field can only be edited in the Make a User an Administrator action) Boolean FALSE
Is Delegated Admin? Indicator if the user is a delegated administrator. Delegated administrators are supported by the API but cannot create or undelete users, or make users administrators. These requests are ignored by the API service. Roles and privileges for administrators are assigned using the Admin console. Boolean FALSE
Included in Global Address List? Indicator if the user's profile is visible in the Google Workspace global address list when the contact sharing feature is enabled for the domain. For more information about excluding user profiles, see the administration help center. Boolean FALSE
Password Password for the user account (password requirements: minimum 8 characters, maximum 100 characters, may contain any combination of ASCII characters). We recommend sending the password property value as a base 16 bit, hexadecimal-encoded hash value. If a hashFunction is specified, the password must be a valid hash key. The password value is never returned in the API's response body. String FALSE
Hash Format Hash format for the storage of the password property; options are SHA-1, MD5, or CRYPT Dropdown FALSE
Change Password At Next Login? Indicator if the user is forced to change their password at next login (does not apply when SSO is configured with a third party identity provider) Boolean FALSE
IP Allow Listed?

Indicator if the user's IP address is allow listed

Boolean FALSE
Parent Organization Path Organizational unit's parent path; for example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless parentOrgUnitId is set. String FALSE
Alias Alias email address String FALSE
IM
IM Network ID User's IM accounts (user may have multiple IM accounts but only one primary) String FALSE
Type IM account type; options are home, work, custom, or other Dropdown FALSE
Custom Type Required, user defined value if IM type is custom String FALSE
Protocol IM network (custom network or standard network) option FALSE
Custom Protocol Required, user defined value if the protocol is custom String FALSE
Email
Email Address Email address of the user String FALSE
Type Type of email address; options are home, work, custom, or other Dropdown FALSE
Custom Type Required, user defined value if email address type selection is custom String FALSE
External ID
External ID Value of the ID String FALSE
Type Type of external ID; options are account, customer, login_ID, network, organization, or custom Dropdown FALSE
Custom Type Required, user defined value if address type selection is custom String FALSE
Relation
Relation Name Name of the person the user is related to String FALSE
Type Type of relation; options are admin_assistant, assistant, brother, child, domestic_partner, dotted_line_manager, exec_assistant, father, friend, manager, mother, parent, partner, referred_by, relative, sister, spouse, or custom Dropdown FALSE
Custom Type Required, user defined value if type is custom String FALSE
Address
Street Street portion of the user’s address String FALSE
PO Box User’s post office box String FALSE
City User’s city of residence String FALSE
Region User’s geographic region String FALSE
Postal Code Zip or postal code of the user’s address String FALSE
Country User’s country of residence String FALSE
Country Code Telephone prefix for user’s country of residence (ISO 3166-1 standard) String FALSE
Extended Address Extended fields for addresses that includes a sub-region String FALSE
Formatted Address Formatted version of the address String FALSE
Type Type of physical address; options are home, work, custom, or other Dropdown FALSE
Custom Type Required, user defined value if address type selection is custom String FALSE
Organization
Organization Name Name of the organization String FALSE
Description Description of the organization String FALSE
Department Department in the organization that the user is associated with (for example, sales or engineering) String FALSE
Job Title User's title in the organization (for example, member or engineer) String FALSE
Location Physical location of the organization (this is not required to be an address) String FALSE
Symbol Text string symbol of the organization (for example, Google's symbol is GOOG) String FALSE
Cost Center Cost center of the user's organization String FALSE
Domain Domain that the organization belongs to String FALSE
Type Type of organization; options are domain_only, school, work, unknown, or custom Dropdown FALSE
Custom Type Required, user defined value if address type selection is custom String FALSE
Phone
Phone Number Human-readable phone number (any telephone number format) String FALSE
Type Type of phone number; options are assistant, callback, car, company_main, grand_central, home, home_fax, isdn, main, mobile, other, other_fax, pager, radio, telex, tty_ttd, work, work_fax, work_mobile, work_pager, or custom Dropdown FALSE
Custom Type Required, user defined value if the type is custom String FALSE
Website
Website URL URL of the website String FALSE
Type Type or purpose of the website; options are app_install_page, blog, ftp, home, home_page, other, profile, reservations, work, or other Dropdown FALSE
Custom Type Required, user defined value if website type is custom String FALSE
Licenses
Licenses Product licenses that you want to assign to the user List of Objects FALSE

Output

Field Definition Type
User ID Unique identifier of the new user String

Related topics

Google Workspace Admin connector

About the elements of Okta Workflows

Google Workspace API documentation