Description
For adding the binding relationship between specified throttling policies and APIs.
- This function is intended for API activators.
- This interface is used to add the binding relationship between APIs and throttling policies. You can bind up to 100 APIs.
Request parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Operation interface name, which is a required parameter; value: SetTrafficControlApis. |
TrafficControlId | String | Yes | ID of the throttling policy you want to unbind. |
GroupId | String | Yes | ID of the API group to which the APIs you want to unbind belong. |
ApiIds | String | Yes | API IDs for operation. If multiple API IDs are input, they must be separated by a comma (,). Up to 100 API IDs can be input. |
StageName | String | Yes | Name of the stage where the APIs are to be unbound.
|
Return parameters
Name | Type | Description |
---|---|---|
RequestId | String | ID of the current request. |
Examples
Request example
https://apigateway.cn-qingdao.aliyuncs.com/?Action=SetTrafficControlApis
&TrafficControlId=dd05f1c54d6749eda95f9fa6d491449a
&GroupId=0009db9c828549768a200320714b8930
&ApiIds=3b81fd160f5645e097cc8855d75a1cf6,46fbb52840d146f186e38e8e70fc8c12
&StageName=test
&<Public request parameters>
Response example
XML
format
<SetTrafficControlApisResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ004</RequestId>
</SetTrafficControlApisResponse>
JSON
format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004"
}