All Products
Document Center


Last Updated: Mar 04, 2019


You can call this operation to add IP addresses to review security groups.

Note: If videos are in the Checking or Blocked status, they can be played only through requests sent from IP addresses that have been added to review security groups.

Request parameters

ActionStringYesThe operation that you want to perform. Set the value to SetAuditSecurityIp.
SecurityGroupName StringNoThe name of the review security group. Default value: Default. With a single Alibaba Cloud account, you can create a maximum of 10 review security groups.
IpsString NoThe whitelist of IP addresses in review security groups. You can add a maximum of 100 IP addresses to each group. Separate multiple IP addresses with a comma (,). The format is as follows:
  • Exact IP address:
  • Classless Inter-Domain Routing (CIDR) notation: (where /24 indicates the number of bits for the prefix of the IP address, in the range of [1,32]).
OperateMode String NoThe operating mode. Valid values:
  • Append (default value): indicates that new IP addresses are appended to the whitelist.
  • Cover: indicates that new IP addresses overwrite those in the whitelist.
  • Delete: indicates that IP addresses are deleted from the whitelist.

Response parameters

RequestId String The GUID generated by Alibaba Cloud for the request.


Sample requests

  1.,<Common request parameters>

Note: For more information about common request parameters, see Common parameters.

Sample responses

JSON format

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
  3. }

Error codes

The following table lists the error codes that this operation can return. For more information, see Error codes.

Error codeError messageHTTP status codeDescription
IpsIsEmpty The specified “Ips” can not be empty.400The error message returned when the Ips parameter is not set.
IpsExceededMax The specified Ips count has exceeded 100.403The error message returned when more than 100 IP addresses are added to a group.
SecurityIpGroupExceededMax The audit security group count has exceeded 10.403The error message returned when the number of review security groups exceeds the upper limit.