delete org

This commit is contained in:
Fred KISSIE
2026-09-02 00:25:49 +02:00
committed by Owen
parent 7aae51ca9d
commit 8b20a88838
4 changed files with 108 additions and 9 deletions
+5
View File
@@ -88,6 +88,11 @@ authenticated.put("/org", getUserOrgs, org.createOrg);
authenticated.get("/orgs", verifyUserIsServerAdmin, org.listOrgs);
authenticated.get("/admin/orgs", verifyUserIsServerAdmin, org.adminListOrgs);
authenticated.delete(
"/admin/org/:orgId",
verifyUserIsServerAdmin,
org.adminDeleteOrg
);
authenticated.get("/user/:userId/orgs", verifyIsLoggedInUser, org.listUserOrgs);
authenticated.get(