Skip to main content

warning_thresholds

Creates, updates, deletes, gets or lists a warning_thresholds resource.

Overview​

Namewarning_thresholds
TypeResource
Idokta.rate_limit_settings.warning_thresholds

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
warningThresholdintegerThe threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rate_limit_settings_warning_thresholdselectsubdomainRetrieves the currently configured threshold for warning notifications when the API's rate limit is exceeded
replace_rate_limit_settings_warning_thresholdreplacesubdomain, warningThresholdReplaces the Rate Limit Warning Threshold Percentage and returns the configured property

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstring(default: my-org)

SELECT examples​

Retrieves the currently configured threshold for warning notifications when the API's rate limit is exceeded

SELECT
warningThreshold
FROM okta.rate_limit_settings.warning_thresholds
WHERE subdomain = '{{ subdomain }}' -- required
;

REPLACE examples​

Replaces the Rate Limit Warning Threshold Percentage and returns the configured property

REPLACE okta.rate_limit_settings.warning_thresholds
SET
warningThreshold = {{ warningThreshold }}
WHERE
subdomain = '{{ subdomain }}' --required
AND warningThreshold = '{{ warningThreshold }}' --required
RETURNING
warningThreshold;