diff options
author | Erik Johnston <erik@matrix.org> | 2016-06-30 15:40:58 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-06-30 15:40:58 +0100 |
commit | f328d95cef99763d056171846253ed68cab58214 (patch) | |
tree | 199bef20aca0ca594d234ff61c16ab44e46be91f /synapse/rest | |
parent | Merge pull request #902 from matrix-org/erikj/expire_media (diff) | |
download | synapse-f328d95cef99763d056171846253ed68cab58214.tar.xz |
Feature: Add deactivate account admin API
Allows server admins to "deactivate" accounts, which: - Revokes all access tokens - Removes all threepids - Removes password The API is a POST to `/admin/deactivate/<user_id>`
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/admin.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py |