---
title: "Replace operator header tagging rules"
method: PUT
path: "/admin/tagging/settings"
tags: ["admin"]
---

# Replace operator header tagging rules

`PUT /admin/tagging/settings`

## Request body

- AdminUpdateTaggingSettingsRequest
  - `headers` TaggingRule[]
    - `delimiter` string — Delimiter splits one header value into multiple labels. Default: ",".
    - `do_not_pass` boolean — DoNotPass strips the header before forwarding the request upstream. Default: false (headers are passed through as-is).
    - `header` string — Header is the canonical HTTP header name to read labels from.
    - `managed` boolean — Managed marks a rule declared in config/env; such rules are read-only in the dashboard. Never persisted.
    - `prefix` string — Prefix is optionally trimmed from the front of each label. Trimming only affects the extracted label, never the forwarded header value.

## Response `200`

OK

- AdminTaggingSettingsResponse
  - `editable` boolean — Editable reports whether operator rules can be saved (false when no settings storage is available).
  - `headers` TaggingRule[] — Headers is the effective rule set: config/env-managed rules (read-only, managed=true) followed by operator rules persisted in the admin store.
    - `delimiter` string — Delimiter splits one header value into multiple labels. Default: ",".
    - `do_not_pass` boolean — DoNotPass strips the header before forwarding the request upstream. Default: false (headers are passed through as-is).
    - `header` string — Header is the canonical HTTP header name to read labels from.
    - `managed` boolean — Managed marks a rule declared in config/env; such rules are read-only in the dashboard. Never persisted.
    - `prefix` string — Prefix is optionally trimmed from the front of each label. Trimming only affects the extracted label, never the forwarded header value.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `503` — Service Unavailable

---

[API](https://skmtc.dev/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.dev/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/7b5727a74f59/schema)
