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 {
388388#[ derive( InputObject ) ]
389389pub struct DeactivateUserInput {
390390 /// 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>
391398 hs_erase : bool ,
392399
393400 /// 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.
607607input DeactivateUserInput {
608608 """
609609 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>
610617 """
611618 hsErase : Boolean !
612619 """
Original file line number Diff line number Diff line change @@ -391,7 +391,16 @@ export type DateFilter = {
391391
392392/** The input for the `deactivateUser` mutation. */
393393export 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+ */
395404 hsErase : Scalars [ 'Boolean' ] [ 'input' ] ;
396405 /** The password of the user to deactivate. */
397406 password ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
You can’t perform that action at this time.
0 commit comments