Share this page

# UtilsA.removeAutoHeader

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

    UtilsA.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

    UtilsA.removeAutoHeader("someCustomHeader").then(function(){
      TCA.done();
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

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