> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete an access bundle

> Delete an Agent Vault access bundle with the Node.js SDK.

`client.agentVault().accessBundles.delete()` deletes an [access bundle](https://infisical.com/docs/documentation/platform/agent-vault/access-bundles.md). The client must log in as a user or machine identity with the **Admin** role in the [Agent Vault project](https://infisical.com/docs/documentation/platform/agent-vault/access-control#product-membership).

When you delete an access bundle, the sessions that use it stop getting credentials for the bundle's services, as [Access changes](https://infisical.com/docs/documentation/platform/agent-vault/sessions#access-changes) describes. A session's [inline services](https://infisical.com/docs/sdks/languages/node/agent-vault/create-session.md#create-a-session-with-inline-services) keep working, so to stop every credential that a session gets, [revoke the session](https://infisical.com/docs/sdks/languages/node/agent-vault/revoke-session.md).

## Parameters

**accessBundleId** `string` *required*

The ID of the access bundle.

## Returns

**accessBundle** `AgentVaultAccessBundle`

The deleted access bundle.

```typescript Basic theme={"dark"}
const accessBundle = await client.agentVault().accessBundles.delete("<access-bundle-id>");
```

```json Response theme={"dark"}
{
  "id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
  "name": "release-tools",
  "description": "Release and deploy tools",
  "createdAt": "2026-12-02T12:30:00.000Z",
  "updatedAt": "2026-12-02T12:36:15.000Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.