delete org

This commit is contained in:
Fred KISSIE
2026-09-02 00:25:49 +02:00
parent c411a1a5b9
commit 9853122a51
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(