diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-01-12 22:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 16:30:15 -0500 |
commit | 7a2e9b549defe3f55531711a863183a33e7af83c (patch) | |
tree | 1ceeb3a73fd7a8cfa16fca79632bbb0ce554b0bc /docs/admin_api | |
parent | UI Auth via SSO: redirect the user to an appropriate SSO. (#9081) (diff) | |
download | synapse-7a2e9b549defe3f55531711a863183a33e7af83c.tar.xz |
Remove user's avatar URL and displayname when deactivated. (#8932)
This only applies if the user's data is to be erased.
Diffstat (limited to 'docs/admin_api')
-rw-r--r-- | docs/admin_api/user_admin_api.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/admin_api/user_admin_api.rst b/docs/admin_api/user_admin_api.rst index 3115951e1f..b3d413cf57 100644 --- a/docs/admin_api/user_admin_api.rst +++ b/docs/admin_api/user_admin_api.rst @@ -98,6 +98,8 @@ Body parameters: - ``deactivated``, optional. If unspecified, deactivation state will be left unchanged on existing accounts and set to ``false`` for new accounts. + A user cannot be erased by deactivating with this API. For details on deactivating users see + `Deactivate Account <#deactivate-account>`_. If the user already exists then optional parameters default to the current value. @@ -248,6 +250,25 @@ server admin: see `README.rst <README.rst>`_. The erase parameter is optional and defaults to ``false``. An empty body may be passed for backwards compatibility. +The following actions are performed when deactivating an user: + +- Try to unpind 3PIDs from the identity server +- Remove all 3PIDs from the homeserver +- Delete all devices and E2EE keys +- Delete all access tokens +- Delete the password hash +- Removal from all rooms the user is a member of +- Remove the user from the user directory +- Reject all pending invites +- Remove all account validity information related to the user + +The following additional actions are performed during deactivation if``erase`` +is set to ``true``: + +- Remove the user's display name +- Remove the user's avatar URL +- Mark the user as erased + Reset password ============== |