File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed
crates/handlers/src/graphql/mutations Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,13 @@ impl ResendRecoveryEmailPayload {
388
388
#[ derive( InputObject ) ]
389
389
pub struct DeactivateUserInput {
390
390
/// Whether to ask the homeserver to GDPR-erase the user
391
+ ///
392
+ /// This is equivalent to the `erase` parameter on the
393
+ /// `/_matrix/client/v3/account/deactivate` C-S API, which is
394
+ /// implementation-specific.
395
+ ///
396
+ /// What Synapse does is documented here:
397
+ /// <https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account>
391
398
hs_erase : bool ,
392
399
393
400
/// The password of the user to deactivate.
Original file line number Diff line number Diff line change @@ -607,6 +607,13 @@ The input for the `deactivateUser` mutation.
607
607
input DeactivateUserInput {
608
608
"""
609
609
Whether to ask the homeserver to GDPR-erase the user
610
+
611
+ This is equivalent to the `erase` parameter on the
612
+ `/_matrix/client/v3/account/deactivate` C-S API, which is
613
+ implementation-specific.
614
+
615
+ What Synapse does is documented here:
616
+ <https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account>
610
617
"""
611
618
hsErase : Boolean !
612
619
"""
Original file line number Diff line number Diff line change @@ -391,7 +391,16 @@ export type DateFilter = {
391
391
392
392
/** The input for the `deactivateUser` mutation. */
393
393
export type DeactivateUserInput = {
394
- /** Whether to ask the homeserver to GDPR-erase the user */
394
+ /**
395
+ * Whether to ask the homeserver to GDPR-erase the user
396
+ *
397
+ * This is equivalent to the `erase` parameter on the
398
+ * `/_matrix/client/v3/account/deactivate` C-S API, which is
399
+ * implementation-specific.
400
+ *
401
+ * What Synapse does is documented here:
402
+ * <https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account>
403
+ */
395
404
hsErase : Scalars [ 'Boolean' ] [ 'input' ] ;
396
405
/** The password of the user to deactivate. */
397
406
password ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
You can’t perform that action at this time.
0 commit comments