summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2024-10-29 11:50:13 -0700
committerGitHub <noreply@github.com>2024-10-29 13:50:13 -0500
commit58deef5eba68c24987c6b2d95d397ee023a1c6ec (patch)
tree1919e05d32ad7a5dbfc09541a7b5461ca7b8f7a2 /docs
parentFix check for outdated Rust library (#17861) (diff)
downloadsynapse-58deef5eba68c24987c6b2d95d397ee023a1c6ec.tar.xz
Add admin handler to list of handlers used for background tasks (#17847)
Fixes #17823

While we're at it, makes a change where the redactions are sent as the
admin if the user is not a member of the server (otherwise these fail
with a "User must be our own" message).
Diffstat (limited to 'docs')
-rw-r--r--docs/admin_api/user_admin_api.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/admin_api/user_admin_api.md b/docs/admin_api/user_admin_api.md

index cb38e26005..96a2994b7b 100644 --- a/docs/admin_api/user_admin_api.md +++ b/docs/admin_api/user_admin_api.md
@@ -1365,6 +1365,9 @@ _Added in Synapse 1.72.0._ ## Redact all the events of a user +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. + The API is ``` POST /_synapse/admin/v1/user/$user_id/redact