create_gws_user
Create a new Google Workspace user by providing name, email, org unit, and password, with option to force password change on first login.
Instructions
Creates a new Google Workspace user.
Args:
first_name: The first name of the user.
last_name: The last name of the user.
primary_email: The primary email address for the new user.
org_unit_path: The organizational unit path (e.g., '/Staff/Engineering').
password: The initial password for the user.
change_password_at_next_login: Whether to force password change on first login.
confirmed: Must be True to execute. If False, returns a preview.
GAM pattern:
gam create user <primary_email> firstname <first_name> lastname <last_name>
org <org_unit_path> password <password> changepassword <true/false>
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | ||
| confirmed | No | ||
| last_name | Yes | ||
| first_name | Yes | ||
| org_unit_path | Yes | ||
| primary_email | Yes | ||
| change_password_at_next_login | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |