This article describes how to customize the On-Demand User TTL setting for an Advanced Server Access (ASA) Project.
- Advanced Server Access (ASA)
From the ASA Admin dashboard, the On Demand User TTL setting duration is hard-coded with the pull-down menu offering 1 hr, 1 day, 14 days, 30 days, and 90 days.
If customized TTL settings are needed, then the ASA API "Update" endpoint can be used to customize this setting:
PUT https://app.scaleft.com/v1/teams/${team_name}/projects/${project_name}
- Set
user_on_demand_periodin thePUTrequest.
For example, if a 4-hour TTL duration needs to be set, then the value is 14400 in seconds:
Once the time limit is reached the users session will be terminated since the user gets deleted from the server.
