v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
policiesManagement

Set User Concurrent Sessions Limit policy.

Set the User Concurrent Sessions Limit policy. When enabled, the number of concurrent sessions a user may have is limited to the value entered. If a user exceeds the allowed number of sessions, the user's oldest session will be logged out to accommodate the new one. Disabling this policy means a user may have an unlimited number of concurrent sessions. Learn More

put/v1/policies/userConcurrentSessionsLimit

Request body

enabledboolean required

Whether the User Concurrent Sessions Limit policy is enabled.

maxConcurrentSessionsinteger

Maximum number of concurrent sessions a user may have.

Example request

{
  "enabled": true,
  "maxConcurrentSessions": 50
}

Response

User Concurrent Sessions Limit policy was set successfully.

enabledboolean required

Whether the User Concurrent Sessions Limit policy is enabled.

maxConcurrentSessionsinteger

Maximum number of concurrent sessions a user may have.

Example response

{
  "enabled": true,
  "maxConcurrentSessions": 50
}