latestSwagger 2.02026-08-191,9198883.9 MB

b296c3a60aa5

RateLimiting

Modify an existing rate limiting policy.

put/ratelimitingpolicies/{id}

Path parameters

idstring required

ID of the policy to modify.

Request body

AuditModeboolean required

When enabled, the policy logs requests that would be rate limited without rejecting them (no 429 response).

BurstLimitinteger required

Maximum capacity of the token bucket.

Idstring required

ID of the policy to modify.

IsEnabledboolean required

Whether this policy is actively enforced.

Namestring required

The display name of the policy.

RequestsPerMinuteinteger required

Number of requests permitted per minute.

ScopeTypestring required

The scope this policy applies to.

Example request

{
  "BurstLimit": 200,
  "Id": "RateLimitingPolicies-1",
  "Name": "Authenticated requests",
  "RequestsPerMinute": 600
}

Response

A Rate Limiting Policy

AuditModeboolean required

When enabled, the policy logs requests that would be rate limited without rejecting them (no 429 response).

BurstLimitinteger required

Maximum capacity of the token bucket.

Idstring required

The ID of this policy.

IsBuiltInboolean required

Whether this is a built-in policy that cannot be deleted or have its name or scope changed.

IsEnabledboolean required

Whether this policy is actively enforced.

Namestring required

The display name of this policy.

RequestsPerMinuteinteger required

Number of requests permitted per minute.

ScopeTypestring required

The scope this policy applies to.

Example response

{
  "BurstLimit": 200,
  "Id": "RateLimitingPolicies-1",
  "Name": "Authenticated requests",
  "RequestsPerMinute": 600
}