cURL
curl --request PUT \ --url https://your-instance.example.com/api/organizations/{organizationId}/session-settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "enabled": true, "idleTimeoutMinutes": 123, "tokenExpiryHours": 123, "warningTimeMinutes": 123, "idleTrackingEnabled": true, "ssoSilentRenewalEnabled": true, "ssoFallbackBehavior": "reauth-button", "passwordSilentRenewalEnabled": true, "passwordFallbackBehavior": "reauth-modal" } '
{ "success": true, "message": "<string>", "data": { "enabled": true, "idleTimeoutMinutes": 123, "tokenExpiryHours": 123, "warningTimeMinutes": 123, "idleTrackingEnabled": true, "ssoSilentRenewalEnabled": true, "ssoFallbackBehavior": "<string>", "passwordSilentRenewalEnabled": true, "passwordFallbackBehavior": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Set to null to revert to global default
reauth-button
force-logout
reauth-modal
Session settings updated
Show child attributes