You can set an expiration date for an account as follows:
Select a project.
In the Website tab, click SFTP & SSH.
Next to the desired SFTP/SSH user, click the three dots.
Click Set expiry.
Check the Temporary user box.
Select the time of deletion.
Click Save changes.
The expiration date has now been set for the account.