All Products
Document Center

Add special throttling policies

Last Updated: Dec 22, 2017


For adding custom special throttling policies to a specified throttling policy.

  • This function is intended for API activators.
  • If the input SpecialKey already exists, the previous configuration is overwritten. Exercise caution when operating.
  • Note that special throttling policies must be added to an existing throttling policy, and then take effect for all the APIs under the existing throttling policy.

Request parameters

Name Type Required? Description
Action String Yes Operation interface name, which is a required parameter; value: AddTrafficSpecialControl.
TrafficControlId String Yes ID of a specified throttling policy.
SpecialType String Yes Special throttling type; values:
  • App: Application
  • USER: User
SpecialKey String Yes AppId or Alibaba Cloud account ID corresponding to SpecialType. View Account Manager Page to get account ID.
TrafficValue Integer Yes Corresponding special throttling value.

Return parameters

Name Type Description
RequestId String ID of the current request.


Request example

  2. &TrafficControlId=tf123456
  3. &SpecialType=App
  4. &SpecialKey=3382463
  5. &TrafficValue=10000
  6. &<Public request parameters>

Response example

XML format

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

JSON format

  1. {
  2. "RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BZ004",
  3. }