[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-30 UTC."],[[["\u003cp\u003eThis webpage details how to retrieve the authorization code for a domain registration, which is required when transferring a domain to a different registrar.\u003c/p\u003e\n"],["\u003cp\u003eThe authorization code can only be retrieved after a minimum of 60 days following the initial domain registration.\u003c/p\u003e\n"],["\u003cp\u003eThe necessary HTTP request is a GET request to a specific URL, using the provided gRPC Transcoding syntax and requiring a path parameter that identifies the registration.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and a successful response will provide an instance of an AuthorizationCode.\u003c/p\u003e\n"],["\u003cp\u003eRetrieving this authorization code requires the \u003ccode\u003edomains.registrations.configureManagement\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.registrations.retrieveAuthorizationCode\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar.\n\nYou can call this method only after 60 days have elapsed since the initial domain registration.\n\n### HTTP request\n\n`GET https://domains.googleapis.com/v1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [AuthorizationCode](/domains/docs/reference/rest/v1/AuthorizationCode).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]