How I changed my primary domain in Google Apps

Recently, I needed to organize a mail service for a small company. And I remembered about my free account in Google Apps lying around. Unfortunately, the main domain to which the account was linked has long been rested in the Bose and turned out to be busy at the moment. Fortunately, several additional free domains were tied to the account, one of which turned out to be free and I registered it again. And then a question arose in front of me, which was put in the heading. Common situation? If you look at the help of a reputable Google, we find out that this is impossible .

In general, Google help is a chaotic pile of unstructured information, so you need to think carefully about the wording of the request in order to find something there (of course, you should always think about the wording, but here especially).

But, we are not used to retreating, especially since in the description of the API from Google, I came across encouraging information . I wanted to use the Google API in some simple way, not related to writing and registering my own applications. And such a method was found . But as it turned out, there is an even simpler way.

Google, when describing the methods and variables of its API, provides a service that allows you to test them on running services.
So, we enable API access for our Google Apps, this is done in the administrator’s console, the Security section, the API reference subsection, just in case a link , but since Google often changes the interface of the administrative console, it’s not a fact that it will be working after a while.

Now let's start, we are interested in the “update” method for the “customers” field. Here is the link . Go to the “try it” item, move the authorization slider and authorize the API for the changes we need (by default, there are already birds on the items that our method uses, so there is no need to put them on all).

In the “Customer Key” field, fill in a unique identifier for our Google Apps or simply write “my_customer” for the current user (in this case, you must first log in under the Google Apps administrator).

In the "fields" field, click the "Use fields editor" button and put the bird in front of "customerDomain".

In the “Request body” request field, add the “customerDomain” property and fill its value with the name of our domain (the domain must first be added to the list of domains for Google Apps).

Click the "Authorize and execute" button and, if we did everything correctly, our domain will become the main one.

After that, you can delete unnecessary domains, or you can not delete them - let them hang.

More recently, Google has banned the addition of new domains to old free accounts, but this can be circumvented by including the 30-day trial of Google Apps for Works, adding and changing a domain, and then returning to a free account .

I think that the information will also be useful for owners of Google services for domains for business, because there too it is impossible to change the main domain in a simple and natural way.

Thanks for attention.

Also popular now: