Hello,
For my company I wrote a script that sets an expiration date for the shared links and all works well. The only issue is that once the expiration date passes, the link is expired but not actually deleted from the file.
Like on the below screenshot it says that the link expires in 0 days, and when you click on "Copy link" it copies the expired link.

Here you can see that the expiration date actually passed.

Is this the intended behavior of setting the expiration date with the API ? Because it does not happen when manually setting an expiration date. If it is, how can I make it so the link is delete from the files once it expires ?