Use the PUT /session/authenticationSessionPolicies/global endpoint to update the global authentication session policy.

Status codes

Code Reason
200 Global authentication session policy updated.
400 The request was improperly formatted or contained invalid fields.
403 PingFederate does not have the appropriate IdP/SP role enabled. Operation not available.
422 Validation error(s) occurred.

GlobalAuthenticationSessionPolicy - The global policy for authentication sessions.

Property Type Description
enableSessions * boolean Determines whether authentication sessions are enabled globally.
idleTimeoutDisplayUnit SessionTimeUnit The display unit for the idle timeout period in the PingFederate administrative console. When the display unit is HOURS or DAYS, the timeout value in minutes must correspond to a whole number value for the specified unit.
idleTimeoutMins integer The idle timeout period, in minutes. If set to -1, the idle timeout will be set to the maximum timeout. The default is 60.
maxTimeoutDisplayUnit SessionTimeUnit The display unit for the maximum timeout period in the PingFederate administrative console. When the display unit is HOURS or DAYS, the timeout value in minutes must correspond to a whole number value for the specified unit.
maxTimeoutMins integer The maximum timeout period, in minutes. If set to -1, sessions do not expire. The default is 480.
persistentSessions boolean Determines whether authentication sessions are persistent by default. Persistent sessions are linked to a persistent cookie and stored in a data store. This field is ignored if enableSessions is false.