How to set time along with expiry date in share api

I want to create a share link via share api with expiry time. I want to expire the link after 2 or 3 hours. In the docs only date is mentioned.

Anyone can help

From what I recall this isn’t supported at the present time.