registrations_authorization_code
Creates, updates, deletes, gets or lists a registrations_authorization_code
resource.
Overview
Name | registrations_authorization_code |
Type | Resource |
Id | google.domains.registrations_authorization_code |
Fields
The following fields are returned by SELECT
queries:
- retrieve_authorization_code
Successful response
Name | Datatype | Description |
---|---|---|
code | string | The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
retrieve_authorization_code | select | projectsId , locationsId , registrationsId | Gets the authorization code of the Registration for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the REQUIRE_PUSH_TRANSFER property in the list of domain_properties don't support authorization codes and must use the InitiatePushTransfer method to initiate the process to transfer the domain to a different registrar. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
registrationsId | string |
SELECT
examples
- retrieve_authorization_code
Gets the authorization code of the Registration
for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the REQUIRE_PUSH_TRANSFER
property in the list of domain_properties
don't support authorization codes and must use the InitiatePushTransfer
method to initiate the process to transfer the domain to a different registrar.
SELECT
code
FROM google.domains.registrations_authorization_code
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND registrationsId = '{{ registrationsId }}' -- required;