Skip to main content
Glama

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
NameRequiredDescriptionDefault
organizationIdYes
idYes

Implementation Reference

  • 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.' }],
        };
      },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icoretech/warden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server