# dn-delete

Deletes a domain registration with the dn CLI after a confirmation prompt (partner mode only).

Skill by Automattic. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add automattic/dn-cli --skill dn-delete
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add automattic/dn-cli --skill dn-delete -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 5. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/automattic/dn-cli/dn-delete)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-delete). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: dn-delete
description: Delete a domain registration using the dn CLI. Use when the user wants to remove or cancel a domain. Shows a confirmation prompt before proceeding. Partner mode only - user mode redirects to WordPress.com.
---

# dn delete

Delete a domain registration.

## Usage

```bash
dn delete example.com
```

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- Shows a caution message and confirmation prompt (default: No)
- Deleted domains may be restorable within the RGP (Redemption Grace Period) using `dn restore`
- This is a destructive operation - use with care
````

- Previous: [dn-configure](https://syn4pse.dev/terminal/automattic-dn-configure.md)
- Next: [dn-dns-get](https://syn4pse.dev/terminal/automattic-dn-dns-get.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
