Restore a deleted domain
POST /api/v1/domains/restore
Section titled “POST /api/v1/domains/restore”Recovers a deleted domain from the registry’s redemption period. Chargeable, and usually expensive — restore fees are set by the registry and are far higher than a renewal.
Request
{ "domainName": "apiname.com"}Response — 204, no body
Errors
| Code | Meaning and fix |
|---|---|
Dna.DomainService:Domain:10043 |
Not in the redemption period. Check rgpStatues. |
Dna.DomainService:Domain:10007 |
Domain not found or not yours. |
Dna.DomainService:Domain:10038 |
The domain has no registrant contact, which the registry requires for the restore report. Open a ticket. |
Dna.DomainService:Domain:10049 |
No restore price configured for this extension. |
Dna.DomainService:Deposit:10001 |
Insufficient balance. |
Dna.DomainService:Reseller:10001 |
Balance suspended. |