
A user's organizational unit determines which Google Workspace services the user has access to. If a user was not assigned to a specific organizational unit when the user account was created, the account is in the top-level organizational unit.The maximum number of domains allowed in an account is 600 (1 primary domain + 599 additional domains).Editing a read-only field in a request, such as isAdmin, is silently ignored by the API service.This assignment may take a few minutes to be completed and activated. If the Google account has purchased mail licenses, the new user account is automatically assigned a mailbox.If you get these responses, use an exponential back-off algorithm to retry your requests. If your query rate for creation requests is too high, you might receive HTTP 503 responses from the API server indicating that your quota has been exceeded. "streetAddress": "1600 Amphitheatre Parkway",
#Create new gmail account with my domain full#
For the full list of request and response properties, see the API Reference. The following JSON shows a sample request to create a user. If you are using client libraries, they convert the data objects from your chosen language into JSON data formatted objects.

For the request query string properties, see the users.insert() method.Īll create requests require you to submit the information needed to fulfill the request. You can view the available scopes for the Directory API in the OAuth 2.0 scopes list. To create a user account using one of your domains, use the following POST request and include the authorization described in Learn about authentication and authorization. For details, see G Suite business email accounts updated to G Suite Basic. If you upgraded your personal Gmail account to a business email account with your own domain name, you can't create new user accounts until you unlock additional Google Workspace settings. Before adding a user account, confirm the domain ownership.

You can add a user account to any of your Google Workspace account's domains. Users or lists of users who meet specified criteria. You can also get information about individual The Directory API provides programmatic methods for creating, updating, andĭeleting users.
