Recalculate Authorization header for pm.sendRequest

I have an api call that gets a response from Akamai OK and I want to make a set of subsequent calls (to a detail api) using the data obtained. (I am doing this in a test because I don’t know in advance how many there will be.)

However, authorization fails for the subrequests because EdgeGrid uses the URL to calculate the signature field in the Authorization header.

How do I recalculate the Authorization header for each new request so that I can send it in a pm.sendRequest call? The Authorization header is NOT automatically added for the subrequests.

error from Akamai for the subrequest

example code