All URIs are relative to https://subdomain.okta.com
Method | HTTP request | Description |
---|---|---|
GetRateLimitSettingsAdminNotifications | GET /api/v1/rate-limit-settings/admin-notifications | Retrieve the Rate Limit Admin Notification Settings |
GetRateLimitSettingsPerClient | GET /api/v1/rate-limit-settings/per-client | Retrieve the Per-Client Rate Limit Settings |
GetRateLimitSettingsWarningThreshold | GET /api/v1/rate-limit-settings/warning-threshold | Retrieve the Rate Limit Warning Threshold Percentage |
ReplaceRateLimitSettingsAdminNotifications | PUT /api/v1/rate-limit-settings/admin-notifications | Replace the Rate Limit Admin Notification Settings |
ReplaceRateLimitSettingsPerClient | PUT /api/v1/rate-limit-settings/per-client | Replace the Per-Client Rate Limit Settings |
ReplaceRateLimitSettingsWarningThreshold | PUT /api/v1/rate-limit-settings/warning-threshold | Replace the Rate Limit Warning Threshold Percentage |
RateLimitAdminNotifications GetRateLimitSettingsAdminNotifications ()
Retrieve the Rate Limit Admin Notification Settings
Retrieves the currently configured Rate Limit Admin Notification Settings
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetRateLimitSettingsAdminNotificationsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new RateLimitSettingsApi(config);
try
{
// Retrieve the Rate Limit Admin Notification Settings
RateLimitAdminNotifications result = apiInstance.GetRateLimitSettingsAdminNotifications();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RateLimitSettingsApi.GetRateLimitSettingsAdminNotifications: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
403 | Forbidden | - |
429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PerClientRateLimitSettings GetRateLimitSettingsPerClient ()
Retrieve the Per-Client Rate Limit Settings
Retrieves the currently configured Per-Client Rate Limit Settings
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetRateLimitSettingsPerClientExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new RateLimitSettingsApi(config);
try
{
// Retrieve the Per-Client Rate Limit Settings
PerClientRateLimitSettings result = apiInstance.GetRateLimitSettingsPerClient();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RateLimitSettingsApi.GetRateLimitSettingsPerClient: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
403 | Forbidden | - |
429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RateLimitWarningThresholdResponse GetRateLimitSettingsWarningThreshold ()
Retrieve the Rate Limit Warning Threshold Percentage
Retrieves the currently configured threshold for warning notifications when the API's rate limit is exceeded
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetRateLimitSettingsWarningThresholdExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new RateLimitSettingsApi(config);
try
{
// Retrieve the Rate Limit Warning Threshold Percentage
RateLimitWarningThresholdResponse result = apiInstance.GetRateLimitSettingsWarningThreshold();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RateLimitSettingsApi.GetRateLimitSettingsWarningThreshold: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This endpoint does not need any parameter.
RateLimitWarningThresholdResponse
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
403 | Forbidden | - |
429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RateLimitAdminNotifications ReplaceRateLimitSettingsAdminNotifications (RateLimitAdminNotifications rateLimitAdminNotifications)
Replace the Rate Limit Admin Notification Settings
Replaces the Rate Limit Admin Notification Settings and returns the configured properties
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ReplaceRateLimitSettingsAdminNotificationsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new RateLimitSettingsApi(config);
var rateLimitAdminNotifications = new RateLimitAdminNotifications(); // RateLimitAdminNotifications |
try
{
// Replace the Rate Limit Admin Notification Settings
RateLimitAdminNotifications result = apiInstance.ReplaceRateLimitSettingsAdminNotifications(rateLimitAdminNotifications);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RateLimitSettingsApi.ReplaceRateLimitSettingsAdminNotifications: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
rateLimitAdminNotifications | RateLimitAdminNotifications |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PerClientRateLimitSettings ReplaceRateLimitSettingsPerClient (PerClientRateLimitSettings perClientRateLimitSettings)
Replace the Per-Client Rate Limit Settings
Replaces the Per-Client Rate Limit Settings and returns the configured properties
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ReplaceRateLimitSettingsPerClientExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new RateLimitSettingsApi(config);
var perClientRateLimitSettings = new PerClientRateLimitSettings(); // PerClientRateLimitSettings |
try
{
// Replace the Per-Client Rate Limit Settings
PerClientRateLimitSettings result = apiInstance.ReplaceRateLimitSettingsPerClient(perClientRateLimitSettings);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RateLimitSettingsApi.ReplaceRateLimitSettingsPerClient: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
perClientRateLimitSettings | PerClientRateLimitSettings |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RateLimitWarningThresholdResponse ReplaceRateLimitSettingsWarningThreshold (RateLimitWarningThresholdRequest rateLimitWarningThreshold = null)
Replace the Rate Limit Warning Threshold Percentage
Replaces the Rate Limit Warning Threshold Percentage and returns the configured property
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ReplaceRateLimitSettingsWarningThresholdExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new RateLimitSettingsApi(config);
var rateLimitWarningThreshold = new RateLimitWarningThresholdRequest(); // RateLimitWarningThresholdRequest | (optional)
try
{
// Replace the Rate Limit Warning Threshold Percentage
RateLimitWarningThresholdResponse result = apiInstance.ReplaceRateLimitSettingsWarningThreshold(rateLimitWarningThreshold);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling RateLimitSettingsApi.ReplaceRateLimitSettingsWarningThreshold: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
rateLimitWarningThreshold | RateLimitWarningThresholdRequest | [optional] |
RateLimitWarningThresholdResponse
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]