Skip to main content

registrations_authorization_code

Creates, updates, deletes, gets or lists a registrations_authorization_code resource.

Overview

Nameregistrations_authorization_code
TypeResource
Idgoogle.domains.registrations_authorization_code

Fields

NameDatatypeDescription
codestringThe Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.

Methods

NameAccessible byRequired ParamsDescription
retrieve_authorization_codeSELECTlocationsId, projectsId, registrationsIdGets 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 }}';