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

Way to delete account #180

Open
mak448a opened this issue Sep 17, 2023 · 1 comment
Open

Way to delete account #180

mak448a opened this issue Sep 17, 2023 · 1 comment

Comments

@mak448a
Copy link

mak448a commented Sep 17, 2023

Is your feature request related to a problem? Please describe.
It would be nice to have a way to delete an account on the official spacebar instance.

Describe the solution you'd like
A delete button in the settings area

@apprehensions
Copy link

apprehensions commented Nov 13, 2024

Despite an API endpoint being available (https://docs.spacebar.chat/routes/#post-/users/@me/delete/ AKA users/@me/delete), an internal server error occurs:

{"code":500,"message":"Error: data and hash arguments required"}

The API documentation lists no such arguments.

Undocumented API: https://github.com/spacebarchat/server/blob/master/src/api/routes/users/%40me/delete.ts#L50 The error above is from a TypeScript library, and the server is looking for password in the data.

curl 'https://old.server.spacebar.chat/api/users/@me/delete' \
  -X 'POST' \
  -H 'Content-Type: application/json' \
  --data '{"password":"<password>"}' \
  -H 'authorization: <fetched from browser>'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants