Skip to content

Replace the per-client rate limit settings

Request

OAuth 2.0 scope:
  • okta.rateLimits.manage

Replaces the Per-Client Rate Limit Settings and returns the configured properties

Bodyapplication/jsonrequired
defaultModestring(PerClientRateLimitMode)required

The default PerClientRateLimitMode that applies to any use case in the absence of a more specific override

Enum:"DISABLE""ENFORCE""PREVIEW"
useCaseModeOverridesobject

A map of Per-Client Rate Limit Use Case to the applicable PerClientRateLimitMode. Overrides the defaultMode property for the specified use cases.

curl -i -X PUT \
  https://subdomain.okta.com/api/v1/rate-limit-settings/per-client \
  -H 'Content-Type: application/json' \
  -d '{
    "defaultMode": "ENFORCE"
  }'

Responses

Success

Bodyapplication/json
defaultModestring(PerClientRateLimitMode)required

The default PerClientRateLimitMode that applies to any use case in the absence of a more specific override

Enum:"DISABLE""ENFORCE""PREVIEW"
useCaseModeOverridesobject

A map of Per-Client Rate Limit Use Case to the applicable PerClientRateLimitMode. Overrides the defaultMode property for the specified use cases.

Response
{ "defaultMode": "ENFORCE" }