---
title: "POST /v1/{+registration}:resetAuthorizationCode"
method: POST
path: "/v1/{+registration}:resetAuthorizationCode"
tags: ["projects"]
---

# POST /v1/{+registration}:resetAuthorizationCode

`POST /v1/{+registration}:resetAuthorizationCode`

Resets the authorization code of the `Registration` to a new random string. 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.

## Path parameters

- `registration` string, required

## Request body

- ResetAuthorizationCodeRequest — Request for the `ResetAuthorizationCode` method.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/domains.md) · [All operations](https://skmtc.net/google/apis/domains/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/domains/versions/96ed971a98da/schema)
