Edit quota settings

Updates the quota settings in a collection.

Path Params
int64
required

Identifies the collection. Run the List key collections operation to select one.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Contains information about quota settings for the collection.

headersConfig
object

Contains information about the criteria for sending the quota limit response headers.

boolean
required

Enables quota settings in the collection.

integer
required
100 to 1000000000

Number of requests that each key from the collection can send to an API within the specified time period.

string
enum
required

Time period for the quota limit in UTC. Either HOUR_1 to reset at the start of each hour, HOUR_6 at the start of each sixth hour, HOUR_12 for twice daily, DAY for midnight each day, WEEK for midnight on each Monday, or MONTH for midnight on the first day of each month.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json