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
Name | Datatype | Description |
---|---|---|
code | string | The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
retrieve_authorization_code | SELECT | locationsId, projectsId, 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. |
SELECT
examples
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 locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND registrationsId = '{{ registrationsId }}';