Organizations
Get organization session policy
Changed onRetrieves the session policy for an organization. Returns session_policy='APPLICATION' if the organization inherits the application-level defaults, or session_policy='CUSTOM' with the configured values if a custom policy is active.
get/api/v1/organizations/{organization_id}/session-policy
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organization_idstring required
The unique identifier of the organization whose session policy is being requested.
Response
Session policy retrieved successfully.
Example response
{
"policy": {
"absolute_session_timeout": 360,
"idle_session_timeout": 84,
"idle_session_timeout_enabled": true
}
}Changes
- info
endpoint added
- info