@MarkLopes
Ok, that makes sense. Hopefully the new feature they are working on takes that into consideration for temporary enrollments.
In the meantime, have you tried using the endpoint you mentioned to make the enrollment inactive or delete it? You will need to get the enrollment ID (not user ID) to use this, but it should allow you to delete or inactive users from a course too.
Also, are these temporary user accounts that they should no longer have access to after the specified time or just no longer have access to the course? You mentioned wanting to delete the user at a specified time, but I wasn't sure if you meant only deleting their enrollment in that course or deleting the entire user account since you also said they are faculty members.