# Close an endpoint for good

`DELETE /api/v1/ingest-endpoints/{id}`

MCP tool: `revoke-ingest-endpoint`

The URL answers `404` from then on; the captures it made keep naming it. There is no un-revoke, and a new endpoint has a new URL: revoke when the integration is over, rotate when a token leaked.

## Parameters

- `id` (path, required) — The endpoint's id.

## Responses

- `204` — Revoked
- `400` — The request does not match the operation's schema
- `403` — An API key cannot mint, change, rotate or revoke an ingest endpoint — a permanent credential issuing another one is an escalation. Sign in, or use a token that signing in issued.
- `404` — No such endpoint on this account, or a `suggested_project` that resolves to nothing — and the answer a project-restricted credential gets for every operation here, since the inbox has no project for a restriction to narrow.
