add GDPR erase param to deactivate API

This commit is contained in:
Matthew Hodgson 2018-06-26 10:26:54 +01:00
parent 784189b1f4
commit 1e788db430
2 changed files with 13 additions and 1 deletions

View file

@ -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