> For the complete documentation index, see [llms.txt](https://olddocs.exivity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olddocs.exivity.io/3.4.3/data-pipelines/extract/language/clear.md).

# clear

The `clear` statement is used to delete all HTTP headers previously configured using the [set http\_header](/3.4.3/data-pipelines/extract/language/set.md) statement.

## Syntax

**`clear http_headers`**

## Details

The `clear` statement will remove all the headers currently defined, after which a new set of headers can be specified using [set http\_header](/3.4.3/data-pipelines/extract/language/set.md).

## Example

```
set http_header "Accept: application/json"
set http_header "Authorization: FFDC-4567-AE53-1234"    
set http_savefile "d:\exivity\customers.json"
buffer customers = http GET "https://demo.server.com:4444/v1/customers"

clear http_headers   # Clear headers in order to use a different Authorization: value
set http_header "Accept: application/json"
set http_header "Authorization: ABCD-EFGH-8888-1234"    
set http_savefile "d:\exivity\addresses.json"
buffer customers = http GET "https://demo.server.com:4444/v1/addresses"
```
