Yes, you can set the candidate test links to expire.
Here's how you can set the invite expiration for Screen invites.
If you use public test links, then you can find more information here.
If you have any additional questions about the expiration of test links or would like to leave your feedback, please reach out to your Customer Success Manager or contact us at support@codility.com.