---
title: "Restore a domain"
method: POST
path: "/{account}/registrar/domains/{domain}/restores"
tags: ["registrar restore"]
---

# Restore a domain

`POST /{account}/registrar/domains/{domain}/restores`

Explicitly restores an domain that can not be renewed anymore, if the registry supports this function.

Your account must be active for this command to complete successfully. You will be automatically charged the restore fee upon successful restore, so please be careful with this command.

## Path parameters

- `account` integer, required
- `domain` string, required

## Request body

- object
  - `premium_price` string — Required as confirmation of the price, only if the domain is premium.

## Response `201`

Domain restore created

- object
  - `data` DomainRestore, required
    - `id` integer, required
    - `domain_id` integer, required
    - `state` 'new' | 'restoring' | 'restored' | 'cancelled', required
    - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.

## Other responses

- `400` — A required parameter is missing or the request is invalid.
- `401` — The authentication credentials are invalid.
- `404` — The requested resource doesn't exist.

---

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