Stay organized with collections
Save and categorize content based on your preferences.
Creates a user.
Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case.
If resolveConflictAccount is set to true, a 202 response code means that a conflicting unmanaged account exists and was invited to join the organization. A 409 response code means that a conflicting account exists so the user wasn't created based on the handling unmanaged user accounts option selected.
HTTP request
POST https://admin.googleapis.com/admin/directory/v1/users
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-22 UTC."],[[["Creates a new user in Google Workspace using the provided user details."],["Calls immediately after user creation may fail due to propagation delays, requiring retries."],["Conflicting accounts can result in either an invitation to join the organization or an error, depending on configuration and account status."],["Request requires admin directory user authorization scope for execution."]]],[]]