---
title: "HeaderModifierInput"
description: "As Gateway API's header modifier filter: removes, then sets, then adds. Names are HTTP tokens, case-insensitive and once each per list; content-length, transfer-encoding, connection, upgrade, keep-alive and te can't be named."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Load Balancers API

As Gateway API's header modifier filter: removes, then sets, then adds. Names are HTTP tokens, case-insensitive and once each per list; content-length, transfer-encoding, connection, upgrade, keep-alive and te can't be named.

## Fields

- `HeaderModifierInput.add` (array<object>, optional) — Adds each header beside any value it already has.
  - `HeaderModifierInput.add.name` (string, required) — An HTTP token.
    - maxLength 128
  - `HeaderModifierInput.add.value` (string, required) — Printable ASCII, not starting or ending with a space.
    - minLength 1; maxLength 256
- `HeaderModifierInput.remove` (array<string>, optional) — Header names to remove.
  - maxLength 128
- `HeaderModifierInput.set` (array<object>, optional) — Replaces each header's value, or adds it when the request has none.
  - `HeaderModifierInput.set.name` (string, required) — An HTTP token.
    - maxLength 128
  - `HeaderModifierInput.set.value` (string, required) — Printable ASCII, not starting or ending with a space.
    - minLength 1; maxLength 256


Source: https://docs.ezghcloud.com/lb-api/schemas/HeaderModifierInput/index.md
