Delete a Niche
delete_nichePermanently delete a niche with all its keywords, competitors, dives, and diveboxes. Requires explicit confirmation; if used by a Rank Radar, delete or archive those radars first.
Instructions
Use this to permanently remove a niche the user no longer needs. ⚠️ Deletes the niche and everything attached to it — keywords, competitors, all dives and diveboxes — and cannot be undone; the dive tokens already spent on it are NOT refunded. Set confirm: true only after the user approves. A niche used by any Rank Radar cannot be deleted: the call fails with a conflict, so delete or archive those rank radars first (list_rank_radars with the nicheId filter shows them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to proceed — deleting a niche destroys its keywords, competitors and dive history permanently. Confirm with the user first. | |
| nicheId | Yes | The niche to delete. Get one from `list_niches`. |