This API allows you to set rate limits for your application to prevent abuse and ensure fair usage.

Usage

To set rate limits, you need to send a POST request to the following endpoint:

POST /en/docs/api/management/set-rate-limits

Parameters

  • limit (required): The maximum number of requests allowed per second.
  • period (required): The time period over which the limit applies (in seconds).

Example

Here's an example of a successful request:

{
  "limit": 100,
  "period": 60
}

You can find more information about rate limits in our Rate Limits documentation.

Rate Limit Response

If the rate limit is successfully set, you will receive a response with the following format:

{
  "success": true,
  "message": "Rate limit set successfully"
}

Error Response

If there is an error, you will receive a response with an error message:

{
  "success": false,
  "message": "Invalid rate limit parameters"
}

To learn more about API management, check out our API Management Overview.

(center)<img src="https://cloud-image.ullrai.com/q/api_management/"/center>