Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec 'erase' param on /account/deactivate #297

Open
richvdh opened this issue Jun 10, 2018 · 2 comments
Open

spec 'erase' param on /account/deactivate #297

richvdh opened this issue Jun 10, 2018 · 2 comments
Assignees
Labels
A-Client-Server Issues affecting the CS API spec-omission implemented but not currently specified

Comments

@richvdh
Copy link
Member

richvdh commented Jun 10, 2018

matrix-org/matrix-js-sdk#649 added an optional 'erase' boolean to the /account/deactivate API

@richvdh richvdh added the spec-omission implemented but not currently specified label Jun 10, 2018
@turt2live turt2live added the A-Client-Server Issues affecting the CS API label Sep 5, 2018
@giomfo
Copy link
Member

giomfo commented Jun 26, 2019

Note: The description of the auth (Authentication Data) param is unclear.
The session value is not expected in case of deactivation.

The example should be updated by using an actual type (like m.login.password):

{
  "auth": {
    "type": "m.login.password",
    "identifier": {
      "type": "m.id.user",
      "user": "<user_id or user localpart>"
     },
    "password": "<password>"
  },
  "id_server": "example.org",
  "erase": true
}

or

{
  "auth": {
    "type": "m.login.password",
    "user": "<userId>",
    "password": "<password>"
  },
  "id_server": "example.org",
  "erase": true
}

@aaronraimist
Copy link
Contributor

matrix-org/matrix-spec-proposals#2438 seems like it would fix this

@richvdh richvdh transferred this issue from matrix-org/matrix-spec-proposals Mar 1, 2022
@turt2live turt2live mentioned this issue Mar 1, 2022
6 tasks
@turt2live turt2live self-assigned this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client-Server Issues affecting the CS API spec-omission implemented but not currently specified
Projects
None yet
Development

No branches or pull requests

4 participants