Organizations
Update session settings (SuperAdmin only)
Partially updates session-management settings on the organization. Pass null on any individual field to revert it to the global default. Requires SUPERADMIN.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
organizationId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/organizations/string/session-settings" \ -H "Content-Type: application/json" \ -d '{ "enabled": true, "idleTimeoutMinutes": 30, "tokenExpiryHours": 12, "warningTimeMinutes": 2, "idleTrackingEnabled": true, "ssoSilentRenewalEnabled": true, "ssoFallbackBehavior": "reauth-button", "passwordSilentRenewalEnabled": false, "passwordFallbackBehavior": "reauth-modal" }'{ "success": true, "message": "Session settings updated", "data": { "enabled": true, "idleTimeoutMinutes": 30, "tokenExpiryHours": 12, "warningTimeMinutes": 2, "idleTrackingEnabled": true, "ssoSilentRenewalEnabled": true, "ssoFallbackBehavior": "reauth-button", "passwordSilentRenewalEnabled": false, "passwordFallbackBehavior": "reauth-modal" }}