> ## 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 tenant fees

> Patches the tenant's integrator-fee defaults.

Patches the tenant's stored integrator swap-fee default. `swapBps` is the
basis-point fee charged on the output side of every swap. Range:
`0`–`300` (3%).

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

Per-strategy overrides go to
[`PATCH /v2/strategies/{strategyId}/fees`](/api-reference/endpoints/v2-patch-strategy-fees).

### Patch semantics

* **Omitted field** — preserve the current value
* **Explicit `null`** — clear the fee (no integrator fee applied)
* **Explicit value** — set the fee

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

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

  ```bash cURL — clear the fee theme={null}
  curl --request PATCH \
    --url 'https://api.glider.fi/v2/tenant/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/tenant/fees", {
    method: "PATCH",
    headers: {
      "x-api-key": "gldr_sk_your_api_key",
      "content-type": "application/json",
    },
    body: JSON.stringify({ swapBps: 25 }),
  });
  const data = await response.json();
  ```
</RequestExample>

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