All Products
Search
Document Center

Anti-DDoS:DetachSceneDefenseObject

Last Updated:Apr 24, 2024

Removes a protected object from a scenario-specific custom policy.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PolicyIdstringYes

The ID of the policy.

Note You can call the DescribeSceneDefensePolicies operation to query the IDs of all policies.
321a-fd31-df51-****
ObjectTypestringNo

The type of the object. Set the value to Domain, which indicates a domain name.

Domain
ObjectsstringYes

The protection asset that you want to remove from a policy. Separate multiple protection assets with commas (,).

www.aliyun.com

Response parameters

ParameterTypeDescriptionExample
object
Successboolean

Indicates whether the request was successful. Valid values:

  • true: yes
  • false: no
true
RequestIdstring

The ID of the request.

F65DF043-E0EB-4796-9467-23DDCDF92C1D

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "RequestId": "F65DF043-E0EB-4796-9467-23DDCDF92C1D"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history