♻️ detach label from site/resoirce

This commit is contained in:
Fred KISSIE
2026-05-08 00:33:47 +02:00
parent 0d04cc365f
commit 1831ca4e75
5 changed files with 171 additions and 1 deletions

View File

@@ -765,6 +765,14 @@ authenticated.put(
labels.attachLabelToItem
);
authenticated.delete(
"/org/:orgId/label/:labelId/detach",
verifyValidLicense,
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.detachLabelFromItem),
labels.detachLabelFromItem
);
authenticated.get(
"/org/:orgId/health-checks",
verifyValidLicense,