keychain_delete_org_collection
Remove an organization collection from a Bitwarden vault to manage access permissions and clean up unused data groups.
Instructions
Delete an organization collection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | ||
| id | Yes |
Implementation Reference
- src/tools/registerTools.ts:417-436 (handler)The handler for the 'delete_org_collection' tool, registered in 'src/tools/registerTools.ts'. It invokes 'sdk.deleteOrgCollection' after checking for read-only mode.
`${deps.toolPrefix}.delete_org_collection`, { title: 'Delete Org Collection', description: 'Delete an organization collection.', inputSchema: { organizationId: z.string(), id: z.string(), }, _meta: toolMeta, }, async (input, extra) => { if (isReadOnly) return readonlyBlocked(); const sdk = await deps.getSdk(extra.authInfo); await sdk.deleteOrgCollection(input); return { structuredContent: { ok: true }, content: [{ type: 'text', text: 'Deleted.' }], }; }, );