[Defender] Exclude a user from automatic lock out by defender


we are using defenders auto log out feature to kill sessions after 1 day. We have an REST API job which needs a user to run. We would like to exclude this user from the log out process.

How can this be done?

Also REST API requests should not be included in the log out process.