Need to modify incoming request Headers

HI Support team,

I have business requirement to change the incoming header name.

Suppose I am getting header in the incoming request is cwp-header with value xyz but when request goes out from TYK I want to get value of cwp-header (xyz) and add new header with the name Authorization with value xyz ( value of the header cwp-header from the incoming request) and remove cwp-header key.

Incoming header: cwp-header
Incoming header Value: xyz ( dynamic)

Outgoing Header name: Authorization
Outgoing Header Value: xyz ( dynamically mapped from cwp-header’s value)
Delete header: cwp-header

Hope I am clear with my requirement. Can you Please suggest if its achievable with Open source TYK API Gateway.

This is very achievable. You need a combination of context variables and request headers