# Dn Restore

> Restore a previously deleted domain using the dn CLI. Use when the user wants to recover a domain that was deleted and is still within the redemption grace period. Partner mode only.

- Skill: `automattic/dn-restore` (Agent Skill)
- Install (CLI): `npx skillmds@latest add automattic/dn-restore`
- Raw SKILL.md: https://api.skillmd.com/api/skills/automattic/dn-restore/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Automattic (https://skillmd.com/u/automattic)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/automattic/dn-restore

---


# dn restore

Restore a previously deleted domain.

## Usage

```bash
dn restore example.com
```

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- Only works during the Redemption Grace Period (RGP) after deletion
- Use `dn info <domain>` to check the RGP status before attempting restore

