Manages the IP addresses in review security groups.

Note You can play videos in the Checking or Blocked state only from the IP addresses that are added to review security groups.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SetAuditSecurityIp

The operation that you want to perform. Set the value to SetAuditSecurityIp.

Ips String Yes

The IP addresses to be added to a review security group. You can add a maximum of 100 IP addresses to each review security group. Separate multiple IP addresses with commas (,). You can enter individual IP addresses or a CIDR block.

  • Individual IP address: for example,
  • CIDR block: for example,, where /24 indicates that the prefix of the CIDR block is 24 bits in length. You can replace 24 with a value that ranges from 1 to 32.
SecurityGroupName String No Default

The name of the review security group. Default value: Default. You can specify a maximum of 10 review security groups.

OperateMode String No Cover

The operation type. Valid values:

  • Append: adds the IP addresses to the original whitelist. This is the default value.
  • Cover: overwrites the original whitelist.
  • Delete: removes the IP addresses from the original whitelist.

Response parameters

Parameter Type Example Description
RequestId String 25818875-5F78-4*****F6-D7393642CA58

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "25818875-5F78-4*****F6-D7393642CA58"

Error codes

For a list of error codes, visit the API Error Center.

Common errors

The following table describes the common errors that this operation can return.

Error code

Error message

HTTP status code



The specified "Ips" can not be empty.


The error message returned because the Ips parameter is not specified.


The specified Ips count has exceeded 100.


The error message returned because more than 100 IP addresses are added to a review security group.


The audit security group count has exceeded 10.


The error message returned because the number of review security groups exceeds the upper limit.

SDK examples

We recommend that you use a server SDK to call this operation. For more information about the sample code that is used to call this operation in various languages, see the following topics: