Modifies settings for a custom throttling policy.
Operation description
-
This API is intended for API providers.
-
The modifications take effect on the bound APIs instantly.
-
The QPS limit on this operation is 50 per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:ModifyTrafficControl |
update |
*TrafficControl
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TrafficControlId |
string |
Yes |
The ID of the throttling policy. |
tf123456 |
| TrafficControlName |
string |
No |
The throttling policy name. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (_). It cannot start with an underscore. |
流控测试 |
| TrafficControlUnit |
string |
No |
The unit to be used in the throttling policy. Valid values:
|
HOUR |
| ApiDefault |
integer |
No |
The default throttling value for each API. |
10000 |
| UserDefault |
integer |
No |
The default throttling value for each user. |
10000 |
| AppDefault |
integer |
No |
The default throttling value for each app. |
10000 |
| Description |
string |
No |
The description of the throttling policy. |
流控测试描述 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ004 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004 "
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.