# Change what an endpoint takes and stamps, keeping its URL

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

MCP tool: `update-ingest-endpoint`

The URL stays: whatever already posts keeps working, filtered and stamped the new way. Present replaces, `null` clears, absent leaves alone, so `match: null` takes everything. `source` cannot change. Changing `auth` mints the new mode's secret and the old token stops working at once, so the answer carries a `token`, as a rotation's does.

## Parameters

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

## Responses

- `200` — The endpoint as it now stands
- `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.
