getConsoleRequestHeaders

A function that creates impersonation and multicluster related headers for API requests by using current redux state. It returns an object containing the appropriate impersonation and cluster request headers, based on redux state.

Parameter Name Description

targetCluster

Override the current active cluster with the provided targetCluster