v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14120262383.5 KB

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

patch/usageplans/{usageplanId}/keys/{keyId}/usage

Path parameters

usageplanIdstring required

The Id of the usage plan associated with the usage data.

keyIdstring required

The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

Request body

Response

Success

usagePlanIdstring

The plan Id associated with this usage data.

startDatestring

The starting date of the usage data.

endDatestring

The ending date of the usage data.

positionstring
itemsobject

The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, <code>{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}</code>, where <code>{api_key}</code> stands for an API key value and the daily log entry is of the format <code>[used quota, remaining quota]</code>.