client icon indicating copy to clipboard operation
client copied to clipboard

Deleting accounts not implemented

Open MathMan05 opened this issue 5 months ago • 0 comments

function deleteAccount(token:string, api:string){
  const password = prompt("Password for account to be deleted");
  fetch(api+"/users/@me/delete/", {
    headers: {
      authorization:token
    },
    body:JSON.stringify({password}),
    method:"POST"
  });
}

add a button

MathMan05 avatar Aug 20 '25 23:08 MathMan05