Get domain auth code
POSThttps://api.instacloud.com/orgs/{orgId}/domains/{domainName}/auth-code
Token scope: account · org — read-only tokens refused (not a GET).
The transfer authorization code another registrar needs to pull this domain away. Unlocking is the separate PATCH; the code alone moves nothing. (admin+)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | |
domainName | path | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
authCode | string | yes | the EPP/authorization code the gaining registrar asks for |
400
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
403
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
502
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
503
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |