How to I generate different expiry time for refresh token than the access token ?

i am using password grant type to generate an access token.an access toekn and a refresh token is generate in the response.How do I set a expiry time for refresh token that is generated ? Is there any way I can update the expiry time of refresh token ?

looks like we can add the below tag in Generate Access Token policy

{default_value}

And no, you cannot update the expiry time of a refresh token, once it has been generated.