> ## 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 a proxy

> Delete an Agent Vault proxy with the Node.js SDK.

`client.agentVault().proxies.delete()` deletes a [proxy](https://infisical.com/docs/documentation/platform/agent-vault/proxies). 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).

> [!WARNING]
>
> You can't undo deleting a proxy. To stop a proxy temporarily, [revoke its access](https://infisical.com/docs/sdks/languages/node/agent-vault/revoke-proxy.md) instead.

## Parameters

**proxyId** `string` *required*

The ID of the proxy.

## Returns

**proxy** `Pick\<AgentVaultProxy, "id" | "name"\>`

The deleted proxy's `id` and `name`.

```typescript Basic theme={"dark"}
const { id, name } = await client.agentVault().proxies.delete("<proxy-id>");
```

```json Response theme={"dark"}
{
  "id": "f1e2d3c4-b5a6-4978-8a6b-5c4d3e2f1a0b",
  "name": "edge-proxy"
}
```


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