summary refs log tree commit diff
path: root/develop/admin_api/event_reports.html
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2023-02-28 12:09:54 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2023-02-28 12:09:54 +0000
commitf2c9493d3c0731808c4f526bb9c3c7e81bbf887d (patch)
tree9120ae09fb1902b2556bf9dfd01a8713f05fd9ae /develop/admin_api/event_reports.html
parentdeploy: 1cd4fbc51d5c8ffc170dd3665ef81c03cc4a65e8 (diff)
downloadsynapse-f2c9493d3c0731808c4f526bb9c3c7e81bbf887d.tar.xz
deploy: 93f7955eba50c827f96e1b2e8e44ef22a98cecc4
Diffstat (limited to 'develop/admin_api/event_reports.html')
-rw-r--r--develop/admin_api/event_reports.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/develop/admin_api/event_reports.html b/develop/admin_api/event_reports.html

index bbad7b83af..8357ecd2c8 100644 --- a/develop/admin_api/event_reports.html +++ b/develop/admin_api/event_reports.html
@@ -299,6 +299,16 @@ was reported.</li> have a canonical alias set.</li> <li><code>event_json</code>: object - Details of the original event that was reported.</li> </ul> +<h1 id="delete-a-specific-event-report"><a class="header" href="#delete-a-specific-event-report">Delete a specific event report</a></h1> +<p>This API deletes a specific event report. If the request is successful, the response body +will be an empty JSON object.</p> +<p>The api is:</p> +<pre><code>DELETE /_synapse/admin/v1/event_reports/&lt;report_id&gt; +</code></pre> +<p><strong>URL parameters:</strong></p> +<ul> +<li><code>report_id</code>: string - The ID of the event report.</li> +</ul> </main>