# How can one delete reports from the reporting module?

**URL:** <https://support.primero.org/forum/t/how-can-one-delete-reports-from-the-reporting-module/536>\
**Category:** Primero IMS\
**Tags:** v2-0\
**Created:** [February 18, 2022, 11:43am UTC](https://support.primero.org/forum/t/how-can-one-delete-reports-from-the-reporting-module/536 "2022-02-18T11:43:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user16](https://support.primero.org/forum/letter_avatar_proxy/v4/letter/u/6bbea6/32.png) [@user16](https://support.primero.org/forum/u/user16)\
**Post date:** [February 18, 2022, 11:43am UTC](https://support.primero.org/forum/t/how-can-one-delete-reports-from-the-reporting-module/536/1 "2022-02-18T11:43:49Z")

</div>

On Primero IMS V2.0.0, our team has found ourselves in a bit of pinch deleting reports that are available in the reports module. We are able to create new reports, edit the reports and their parameters however, there is no option to delete a report (remove it from the reports section and from the system entirely) if it is not required.

---

<div class="post-metadata">

**Author:** ![childprotectioninnov](https://support.primero.org/forum/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@childprotectioninnov](https://support.primero.org/forum/u/childprotectioninnov)\
**Post date:** [February 18, 2022, 7:34pm UTC](https://support.primero.org/forum/t/how-can-one-delete-reports-from-the-reporting-module/536/2 "2022-02-18T19:34:27Z")

</div>

We can delete them, and will need to assign a software engineer to help with this. Could you let us know which module and country you are in and which reports need to be deleted?

---

<div class="post-metadata">

**Author:** ![mmmagar](https://support.primero.org/forum/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mmmagar](https://support.primero.org/forum/u/mmmagar)\
**Post date:** [February 24, 2022, 3:44am UTC](https://support.primero.org/forum/t/how-can-one-delete-reports-from-the-reporting-module/536/3 "2022-02-24T03:44:34Z")

</div>

Alternatively, you can edit and turn the default report to the new report as per your requirement. Below are the steps to edit the default report;

- 
  1. Click and open the report you want to edit.

- 
  1. On the URL add ‘/edit’. E.g [https://XXXX.primero.org/v2/reports/408/edit](https://XXXX.primero.org/v2/reports/408/edit)

- 
  1. You will have the edit page for the report.  
 ![image](https://support.primero.org/uploads/primero/original/1X/67c60cb32f55360b925134cba7b0784e5ecc9cb5.png)

---

<div class="post-metadata">

**Author:** ![irlawrence](https://support.primero.org/forum/user_avatar/support.primero.org/irlawrence/32/8_2.png) [@irlawrence](https://support.primero.org/forum/u/irlawrence)\
**Post date:** [March 10, 2022, 9:56pm UTC](https://support.primero.org/forum/t/how-can-one-delete-reports-from-the-reporting-module/536/4 "2022-03-10T21:56:09Z")

</div>

If you are running your own instance then you can do this for example:

```auto
ruby
r = Report.find {|r| r["name_i18n"]["en"] == "Cases per Month" }
Report.delete_by(unique_id: r["unique_id"])

```
