---
title: Remove a response header · Cloudflare Rules docs
description: Create a response header transform rule (part of Transform Rules) to remove the `cf-connecting-ip` HTTP header from the response.
lastUpdated: 2025-04-15T11:19:33.000Z
source_url:
  html: https://9d8cd229.preview.developers.cloudflare.com/rules/transform/examples/remove-response-header/index.md
  md: https://9d8cd229.preview.developers.cloudflare.com/rules/transform/examples/remove-response-header/
---

The following response header transform rule removes the `cf-connecting-ip` header from the HTTP response:

Text in **Expression Editor**:

```txt
starts_with(http.request.uri.path, "/private/")
```

Selected operation under **Modify response header**: *Remove*

**Header name**: `cf-connecting-ip`
