This commit is contained in:
MadLittleMods 2024-10-29 18:51:49 +00:00
parent 8e43f49b5d
commit 8d3272a025
4 changed files with 6 additions and 2 deletions

View file

@ -1332,6 +1332,8 @@ for more information.</p>
</code></pre>
<p><em>Added in Synapse 1.72.0.</em></p>
<h2 id="redact-all-the-events-of-a-user"><a class="header" href="#redact-all-the-events-of-a-user">Redact all the events of a user</a></h2>
<p>This endpoint allows an admin to redact the events of a given user. There are no restrictions on redactions for a
local user. By default, we puppet the user who sent the message to redact it themselves. Redactions for non-local users are issued using the admin user, and will fail in rooms where the admin user is not admin/does not have the specified power level to issue redactions. </p>
<p>The API is </p>
<pre><code>POST /_synapse/admin/v1/user/$user_id/redact

View file

@ -15578,6 +15578,8 @@ for more information.</p>
</code></pre>
<p><em>Added in Synapse 1.72.0.</em></p>
<h2 id="redact-all-the-events-of-a-user"><a class="header" href="#redact-all-the-events-of-a-user">Redact all the events of a user</a></h2>
<p>This endpoint allows an admin to redact the events of a given user. There are no restrictions on redactions for a
local user. By default, we puppet the user who sent the message to redact it themselves. Redactions for non-local users are issued using the admin user, and will fail in rooms where the admin user is not admin/does not have the specified power level to issue redactions. </p>
<p>The API is </p>
<pre><code>POST /_synapse/admin/v1/user/$user_id/redact

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long