How to change "allow redirect" setting in the pre-request script

I am doing chaining of request in pre-request script using pm.sendRequest and in that I am calling 4 requests and for one request i want to set “allow redirect” as true and for others I want to set it as “false”. Is there any way to do it?

I am aware of “settings” in the each request which we can use to set this value but not aware how I can do it in prerequest.

can anyone help me for this?