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

# Delete Gateway

> Archive an AI Gateway — sets the gateway status to archived; agents keep their existing status.

### Delete (archive) gateway

```http theme={"dark"}
DELETE /admin/ai-gateway/{gatewayId}
```

Sets the gateway's status to `archived` and returns the updated gateway. This does **not** change the gateway's agents — each agent keeps its current status. Because the proxy data plane gates requests on the *agent's* status (not the gateway's), an agent that is still `active` continues to serve requests; the execute path only returns `503 agent_not_active` for an individual agent that is paused or archived. To stop traffic, archive or pause the agents directly.
