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

# Patch strategy fees

> Patches the strategy's integrator-fee override.

Patches the strategy's integrator-fee override. `swapBps` is the
basis-point fee charged on the output side of every swap for this
specific strategy. Range: `0`–`300` (3%).

* Auth: `x-api-key` header (required)
* Required scope: `fees:write`

Sending `null` clears the per-strategy override. The tenant-wide default
lives at
[`PATCH /v2/tenant/fees`](/api-reference/endpoints/v2-patch-tenant-fees).
Cross-tenant access returns 404.

### Patch semantics

* **Omitted field** — preserve the current override value
* **Explicit `null`** — clear the per-strategy override
* **Explicit value** — set the override

Empty body `{}` is a 200 no-op.

<RequestExample>
  ```bash cURL — set the override theme={null}
  curl --request PATCH \
    --url 'https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4/fees' \
    --header 'x-api-key: gldr_sk_your_api_key' \
    --header 'content-type: application/json' \
    --data '{ "swapBps": 10 }'
  ```

  ```bash cURL — clear the override theme={null}
  curl --request PATCH \
    --url 'https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4/fees' \
    --header 'x-api-key: gldr_sk_your_api_key' \
    --header 'content-type: application/json' \
    --data '{ "swapBps": null }'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://api.glider.fi/v2/strategies/01JWZEE2MF30KVRMRX53N88VA4/fees",
    {
      method: "PATCH",
      headers: {
        "x-api-key": "gldr_sk_your_api_key",
        "content-type": "application/json",
      },
      body: JSON.stringify({ swapBps: 10 }),
    },
  );
  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json After patch theme={null}
  {
    "success": true,
    "data": {
      "swapBps": 10
    }
  }
  ```
</ResponseExample>
