---
title: "Create or update a single OTLP integration secret header"
method: PUT
path: "/v1/integrations/otlp/{id}/secret-headers/{name}"
tags: ["OpenTelemetry Integration"]
---

# Create or update a single OTLP integration secret header

`PUT /v1/integrations/otlp/{id}/secret-headers/{name}`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/integrations/otlp/{id}/secret-headers/{name}`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Creates or updates a single secret HTTP header for an OTLP integration.

## Path parameters

- `id` string, required
- `name` string, required

## Request body

- SecretApi: Secret wrapper for API responses
  - `secret` string, required: The secret value

## Response `204`

Secret header updated successfully

## Other responses

- `400`: Invalid header name or reserved header name
- `401`: Unauthorized
- `404`: Integration not found.

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
