cURL
curl --request PUT \ --url https://api.portkey.ai/v1/policies/rate-limits/{rateLimitsPolicyId} \ --header 'Content-Type: application/json' \ --header 'x-portkey-api-key: <api-key>' \ --data '{ "value": 200, "unit": "rph" }'
{}
Update an existing rate limits policy.
Rate limits policy UUID
Policy name
255
Rate unit
rpm
rph
rpd
Rate limit value
OK
The response is of type object.
object
Was this page helpful?