summary refs log tree commit diff
path: root/synapse/handlers/deactivate_account.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@arasphere.net>2018-06-26 10:43:14 +0100
committerGitHub <noreply@github.com>2018-06-26 10:43:14 +0100
commitc7f6b420aeba24e9a216d7a013a1f313637c56e5 (patch)
treecc629ff957ac7fcc5d0997650467881f1add0a74 /synapse/handlers/deactivate_account.py
parentMerge pull request #3438 from turt2live/travis/dont-print-access-tokens-in-logs (diff)
parentupdate doc for deactivate API (diff)
downloadsynapse-c7f6b420aeba24e9a216d7a013a1f313637c56e5.tar.xz
Merge pull request #3448 from matrix-org/matthew/gdpr-deactivate-admin-api
add GDPR erase param to deactivate API
Diffstat (limited to 'synapse/handlers/deactivate_account.py')
-rw-r--r--synapse/handlers/deactivate_account.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py
index a18d95397c..a84b7b8b80 100644
--- a/synapse/handlers/deactivate_account.py
+++ b/synapse/handlers/deactivate_account.py
@@ -47,6 +47,7 @@ class DeactivateAccountHandler(BaseHandler):
 
         Args:
             user_id (str): ID of user to be deactivated
+            erase_data (bool): whether to GDPR-erase the user's data
 
         Returns:
             Deferred