Adds an object to a scenario-specific custom policy for protection.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PolicyId | string | Yes | The ID of the policy. Note
You can call the DescribeSceneDefensePolicies operation to query the IDs of all policies.
| 321a-fd31-df51-**** |
ObjectType | string | Yes | The type of the object. Set the value to Domain, which indicates a domain name. | Domain |
Objects | string | Yes | The object that you want to add to the policy. Separate multiple objects with commas (,). | www.aliyun.com |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"RequestId": "F65DF043-E0EB-4796-9467-23DDCDF92C1D"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history