> For the complete documentation index, see [llms.txt](https://gift.icbest.ca/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gift.icbest.ca/giftmanager-docs/pages-and-functions/delete-script.md).

# Delete Script

#### Bulk Removal of Bought Ideas

* To **permanently remove** ideas that have been marked as bought for a specific period of time **without sending email alerts**, go to `/rundl`.
  * This will trigger the `delete.py` script.
  * The script will delete ideas that have been marked as bought for the set number of days, and **no email notifications will be sent**.
  * You’ll see the script’s output, showing how many ideas were deleted.
  * **Restart the app** to apply the changes.
* To set the time period after which bought ideas should be removed, go to `/setup` and edit the value called `DELETE_DAYS` in the `.env` file.
* You will see the last execution in the file called `last_execution_time.txt`
