Share this page

# Utils.removeAutoHeader

Removes an HTTP header added with Utils.addAutoHeader, and stops adding the HTTP header to every consecutive HTTP request following the function call.

    Utils.removeAutoHeader(header);

## Arguments

header. (string) The name of the header to stop from being added.

## Return value

A promise that will be fulfilled with no arguments.

## Example

Copy code

    (async ()=>{
        await Utils.removeAutoHeader("someCustomHeader");
    })();

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: