Path Parameters
- idstringREQUIRED
The unique identifier for the specific endpoint
Body Parameters
- rate_limitsobject
Contains the rate limit configurations that you want to update. Required unless limit_by_ip is present
- rpsinteger
Specifies the maximum number of requests allowed per second
- rpdinteger
Specifies the maximum number of requests allowed per day
- rpminteger
Specifies the maximum number of requests allowed per minute
- limit_by_ipboolean
Set to true to apply the endpoint rate limits to each client IP address, or false to apply them to the endpoint as a whole. Omit to keep the current setting
Returns
- dataobject
The data object which contains the following fields:
- limitsobject
The limits object which contains the following fields:
- rpsinteger
The maximum number of requests allowed per second. A value of -1 indicates that no endpoint-level override is set for this bucket.
- rpdinteger
The maximum number of requests allowed per day. A value of -1 indicates that no endpoint-level override is set for this bucket.
- rpminteger
The maximum number of requests allowed per minute. A value of -1 indicates that no endpoint-level override is set for this bucket.
- limit_by_ipboolean
Whether the endpoint rate limits apply to each client IP address
- errorstring
A field containing an error message if any issue occurs