Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: improving description for org-membership

IgorHortac4ea85002835
diff --git a/backend/src/server/routes/v1/organization-memberships-router.ts b/backend/src/server/routes/v1/organization-memberships-router.ts
index 5a031d548e..cf7cbfca13 100644
--- a/backend/src/server/routes/v1/organization-memberships-router.ts
+++ b/backend/src/server/routes/v1/organization-memberships-router.ts
@@ -274,7 +274,8 @@ export const registerOrganizationMembershipsRouter = async (server: FastifyZodPr
hide: false,
operationId: "deleteOrganizationGroupMembership",
tags: [ApiDocsTags.Groups],
- description: "Delete organization group membership (unlink group from current org).",
+ description:
+ "Unlink a group from the current organization. Only applicable in sub-organizations where the group is linked; cannot be used in the organization that owns the group.",
security: [{ bearerAuth: [] }],
params: z.object({
groupId: z.string().uuid()