---
title: "Regenerate the auth code for the given domain"
method: POST
path: "/v2/customers/{customerId}/domains/{domain}/regenerateAuthCode"
tags: ["Domains"]
---

# Regenerate the auth code for the given domain

`POST /v2/customers/{customerId}/domains/{domain}/regenerateAuthCode`

## Path parameters

- `customerId` string, required
- `domain` string, required

## Headers

- `X-Request-Id` string

## Response `202`

Request Accepted. You may use GET /v2/customers/{customerId}/domains/{domain}/actions/AUTH_CODE_REGENERATE to poll status

## Other responses

- `401` — Authentication info not sent or invalid
- `403` — Authenticated user is not allowed access
- `404` — The domain does not exist
- `409` — There is already a similar action processing
- `429` — Too many requests received within interval
- `500` — Internal server error

---

[API](https://skmtc.net/godaddy/apis/domains-api.md) · [All operations](https://skmtc.net/godaddy/apis/domains-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/godaddy/domains-api/revisions/475bd0561c3c/schema)
