# nevia destinations set

> Change a destination, keeping what you leave out

> Nevia is in early access for selected teams. The CLI installs with `curl -fsSL https://get.nevia.cloud | sh`, and the MCP server is at https://api.nevia.cloud/mcp. A person signs in once in the browser.
> Setup, sign-in and requesting access: [SKILL.md](https://nevia.cloud/SKILL.md). When Nevia fits and when it doesn't: [why.md](https://nevia.cloud/why.md).

> For the complete documentation index, see [llms.txt](https://nevia.cloud/llms.txt). This page's HTML version: https://nevia.cloud/docs/reference/cli/destinations/set

`nevia destinations set [FLAGS] <DESTINATION>`

Header values are never read back, so a change to a destination that has headers gives them again with --api-key-file (and --instance-id for grafana\_cloud) or --headers-file, or removes them with --clear-headers. Sends the test records again, as create does.

### Arguments

* `<DESTINATION>` - Destination ID

### Options

* `--name <NAME>` - A label for people (default on create: the endpoint's host)
* `--endpoint <URL>` - The OTLP/HTTP base URL, https; logs go to /v1/logs and metrics to /v1/metrics
* `--api-key-file <PATH>` - File holding the preset's key or token, - for piped stdin; never pass the key itself
* `--instance-id <ID>` - The account's instance ID, for a preset whose header is built from it and the key (grafana\_cloud)
* `--headers-file <PATH>` - File of `Name: value` header lines, - for piped stdin; replaces every header
* `--signal <SIGNAL>` - Send only this signal (repeatable; default on create: both)

  **Choices:** `logs`, `metrics`
* `--project <PROJECT>` - Only resources in this project, by id or name (repeatable); `none` for every resource in the workspace
* `--clear-headers` - Remove every header, for an endpoint that needs none
* `-h, --help` - Print help
