Explain what the 'hsErase' parameter does
This commit is contained in:
@@ -388,6 +388,13 @@ impl ResendRecoveryEmailPayload {
|
||||
#[derive(InputObject)]
|
||||
pub struct DeactivateUserInput {
|
||||
/// Whether to ask the homeserver to GDPR-erase the user
|
||||
///
|
||||
/// This is equivalent to the `erase` parameter on the
|
||||
/// `/_matrix/client/v3/account/deactivate` C-S API, which is
|
||||
/// implementation-specific.
|
||||
///
|
||||
/// What Synapse does is documented here:
|
||||
/// <https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account>
|
||||
hs_erase: bool,
|
||||
|
||||
/// The password of the user to deactivate.
|
||||
|
||||
@@ -607,6 +607,13 @@ The input for the `deactivateUser` mutation.
|
||||
input DeactivateUserInput {
|
||||
"""
|
||||
Whether to ask the homeserver to GDPR-erase the user
|
||||
|
||||
This is equivalent to the `erase` parameter on the
|
||||
`/_matrix/client/v3/account/deactivate` C-S API, which is
|
||||
implementation-specific.
|
||||
|
||||
What Synapse does is documented here:
|
||||
<https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account>
|
||||
"""
|
||||
hsErase: Boolean!
|
||||
"""
|
||||
|
||||
@@ -391,7 +391,16 @@ export type DateFilter = {
|
||||
|
||||
/** The input for the `deactivateUser` mutation. */
|
||||
export type DeactivateUserInput = {
|
||||
/** Whether to ask the homeserver to GDPR-erase the user */
|
||||
/**
|
||||
* Whether to ask the homeserver to GDPR-erase the user
|
||||
*
|
||||
* This is equivalent to the `erase` parameter on the
|
||||
* `/_matrix/client/v3/account/deactivate` C-S API, which is
|
||||
* implementation-specific.
|
||||
*
|
||||
* What Synapse does is documented here:
|
||||
* <https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account>
|
||||
*/
|
||||
hsErase: Scalars['Boolean']['input'];
|
||||
/** The password of the user to deactivate. */
|
||||
password?: InputMaybe<Scalars['String']['input']>;
|
||||
|
||||
Reference in New Issue
Block a user