aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-01 21:09:20 -0800
committerAdam Soltys <[email protected]>2026-03-01 21:09:20 -0800
commit1649bfd6dc01e8bebccab97327db2d55addb8854 (patch)
tree7a7e724b2663c520ab5b47d21c1ab862c2e859a0 /index.ts
parent5db704c583904a941e4a99f9c43fef2128207e92 (diff)
downloadcoinos-server-1649bfd6dc01e8bebccab97327db2d55addb8854.tar.gz
coinos-server-1649bfd6dc01e8bebccab97327db2d55addb8854.zip
delete endpoint
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 032913a3..362663bd 100644
--- a/index.ts
+++ b/index.ts
@@ -139,6 +139,7 @@ app.post("/ark/vault-send", auth, payments.arkVaultSend);
app.post("/ark/vault-receive", auth, payments.arkVaultReceive);
app.post("/account/delete", auth, users.deleteAccount);
+app.post("/user/delete", auth, users.deleteUser);
app.get("/account/:id", auth, users.account);
app.post("/account/:id", auth, users.updateAccount);
app.get("/accounts", auth, users.accounts);