ModifyTrafficControl
Modifies the settings of a custom throttling policy.
Operation description
This feature is available to users of open APIs.
Modifications take effect immediately for APIs bound to the policy.
The queries per second (QPS) limit for this API 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 |
Policy Name of the throttling policy. Policy Name must be 4 to 50 characters in length and can contain uppercase and lowercase letters, Chinese characters, digits, and underscores (_). It cannot start with an underscore. |
Throttling test |
| TrafficControlUnit |
string |
No |
The unit of time. Valid values:
|
HOUR |
| ApiDefault |
integer |
No |
The default throttling threshold for each API. |
10000 |
| UserDefault |
integer |
No |
The default throttling threshold for each user. |
10000 |
| AppDefault |
integer |
No |
The default throttling threshold for each application. |
10000 |
| Description |
string |
No |
The description of the throttling policy. |
Throttling test description |
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.