Revoke Sharing Access after certain number of days

Hi. Is there a way to automatically revoke sheet sharing access after a certain number of days (e.g. after 60 days)? We''d like to give a third party access to our file but only within a limited number of days but we want it automatically.