Delete an entry
delete_entryDelete an entry: it comes off the public site and joins Console → Deleted entries, with your reason (kept private). Its page and its links answer 404, as if it never existed, unless notice gives it a public removal notice: its address then answers 410 “This entry was removed” with the date and that notice’s fixed line (wikidata_deleted: its Wikidata item was deleted; not_eligible; duplicate; terms: removed under the terms of use), and its name unless hide_title. Leave notice out for a removal at the subject’s request. set_delete_notice changes it later. Nothing is erased, and restore_deleted_entry brings it back (and clears the notice). Audited. Dry run by default; the real run needs confirm set to the entry’s VHID. To ask for it instead, use report_entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42). | |
| notice | No | A public removal notice (410) instead of the 404; none when left out. | |
| reason | No | Why — the Deleted entries list shows it. Never shown publicly. | |
| confirm | No | Needed with dry_run: false: this change’s exact target, as the dry run gives it in `confirm`. | |
| dry_run | No | true (the default): write nothing — show the change and the exact request it would send. false: make the change. | |
| hide_title | No | With notice: leave the entry’s name off it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A dry run: what to do next to make the change, in words. | |
| result | No | A real run: the route’s own answer, where the tool adds facts of its own beside it. | |
| confirm | No | A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false. | |
| dry_run | No | true: a dry run, which wrote nothing. Absent from a real run. | |
| replayed | No | A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now. | |
| would_send | No | A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order. | |
| may_edit_live | No | A dry run of a live edit: whether this key’s account may edit this entry live. | |
| refused_because | No | A dry run the real run would be refused for: why, in words. |