admin_notifications
Creates, updates, deletes, gets or lists an admin_notifications resource.
Overview​
| Name | admin_notifications |
| Type | Resource |
| Id | okta.rate_limit_settings.admin_notifications |
Fields​
The following fields are returned by SELECT queries:
- get_rate_limit_settings_admin_notifications
| Name | Datatype | Description |
|---|---|---|
notificationsEnabled | boolean |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_rate_limit_settings_admin_notifications | select | subdomain | Retrieves the currently configured Rate Limit Admin Notification Settings | |
replace_rate_limit_settings_admin_notifications | replace | subdomain, notificationsEnabled | Replaces the Rate Limit Admin Notification Settings and returns the configured properties |
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.
| Name | Datatype | Description |
|---|---|---|
subdomain | string | (default: my-org) |
SELECT examples​
- get_rate_limit_settings_admin_notifications
Retrieves the currently configured Rate Limit Admin Notification Settings
SELECT
notificationsEnabled
FROM okta.rate_limit_settings.admin_notifications
WHERE subdomain = '{{ subdomain }}' -- required
;
REPLACE examples​
- replace_rate_limit_settings_admin_notifications
Replaces the Rate Limit Admin Notification Settings and returns the configured properties
REPLACE okta.rate_limit_settings.admin_notifications
SET
notificationsEnabled = {{ notificationsEnabled }}
WHERE
subdomain = '{{ subdomain }}' --required
AND notificationsEnabled = {{ notificationsEnabled }} --required
RETURNING
notificationsEnabled;