edit-icon download-icon

Binding the specified throttling policies to APIs

Last Updated: Dec 22, 2017

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.
  • RELEASE: Online
  • TEST: Test

Return parameters

Name Type Description
RequestId String ID of the current request.

Examples

Request example

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=SetTrafficControlApis
  2. &TrafficControlId=dd05f1c54d6749eda95f9fa6d491449a
  3. &GroupId=0009db9c828549768a200320714b8930
  4. &ApiIds=3b81fd160f5645e097cc8855d75a1cf6,46fbb52840d146f186e38e8e70fc8c12
  5. &StageName=test
  6. &<Public request parameters>

Response example

XML format

  1. <SetTrafficControlApisResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ004</RequestId>
  3. </SetTrafficControlApisResponse>

JSON format

  1. {
  2. "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004"
  3. }
Thank you! We've received your feedback.