> ## 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 Python SDK.

`client.agent_vault.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/python/agent-vault/revoke-proxy.md) instead.

## Parameters

**proxy\_id** `str` *required*

The ID of the proxy.

## Returns

**proxy** `AgentVaultProxy`

The deleted proxy, with values only in `id` and `name`.

```python Basic theme={"dark"}
proxy = client.agent_vault.proxies.delete(proxy_id="<proxy-id>")
```

```json Response theme={"dark"}
{
  "id": "f1e2d3c4-b5a6-4978-8a6b-5c4d3e2f1a0b",
  "name": "edge-proxy",
  "description": null,
  "heartbeat": null,
  "isHealthy": null,
  "rootCaFingerprint": null,
  "rootCaExpiresAt": null,
  "trafficPolicy": null,
  "allowedHosts": null,
  "pollInterval": null,
  "createdAt": null
}
```


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