Update a destination's endpoint, headers, signals, projects or name, keeping the fields left out.
curl -X PATCH "https://api.nevia.cloud/v1/destinations/01d30cbpnr2g96ry9h5kkkhd6db" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"api_key": "<api key>",
"signals": [
"logs"
]
}'{
"destination": {
"id": "01d30cbpnr2g96ry9h5kkkhd6db",
"workspace": "01d4cnjjq40hnnh0nwmkg35nv2h",
"name": "Honeycomb production",
"endpoint": "https://api.honeycomb.io",
"preset": "honeycomb",
"header_names": [
"x-honeycomb-team"
],
"signals": [
"logs"
],
"projects": [
"01ck8y1dm5qqnf88mytnh4m0h4g"
],
"delivery": {
"status": "delivering",
"last_error": {
"code": "delivered",
"http_status": 503,
"failed_at": "2026-09-10T12:34:56Z"
},
"last_delivered_at": "2026-09-10T12:34:56Z",
"dropped": 0
},
"created_by": "01d4cnjmn4fbb1r5btxb5mypv62",
"updated_by": "01d4cnjmn4fbb1r5btxb5mypv62",
"created_at": "2026-09-10T12:34:56Z",
"updated_at": "2026-09-10T12:34:56Z",
"deleted_at": "2026-09-10T12:34:56Z"
},
"test": {
"logs": {
"code": "delivered",
"http_status": 200
},
"metrics": {
"code": "delivered",
"http_status": 200
}
}
}Authorization
bearerAuth Send the token in the Authorization: Bearer <token> header. See Authenticate.
In: header
Path Parameters
Destination id: 27 lowercase letters and digits.
^[A-Za-z0-9_-]{1,64}$Request Body
application/json
What to change. Absent fields stay, except headers, which a destination that has them takes again with every update.
Behavior
Header values are never read back, so an update to a destination that has headers gives them again, in headers or its preset's credential fields (api_key, and instance_id for Grafana Cloud). Header values are never read back. Saving sends one test record per signal: a log record with the body Nevia test record and a gauge nevia.destination.test of 1, on a resource with service.name nevia. test says how the destination answered each, as a code and its HTTP status, and delivery starts from it. The destination is saved whatever it answered, so fix it with PATCH and read the new test.
Response
application/jsonThe destination and its answer to the test records.
The destination and its answer to the test records just sent