All Products
Search
Document Center

Anti-DDoS:DeleteSchedruleOnDemand

Last Updated:Apr 10, 2024

Deletes the scheduling rule of an on-demand instance.

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
InstanceIdstringYes

The ID of the on-demand instance.

Note You can call the DescribeOnDemandInstance operation to query the IDs of all on-demand instances.
ddosbgp-cn-z2q1qzxb****
RuleNamestringYes

The name of the scheduling rule that you want to delete.

testrule
RegionIdstringNo

The region ID of the on-demand instance.

Note You can call the DescribeRegions operation to query all regions supported by Anti-DDoS Origin.
cn-zhangjiakou

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

BD06F539-2FBE-450D-9391-7EFF787128F5

Examples

Sample success responses

JSONformat

{
  "RequestId": "BD06F539-2FBE-450D-9391-7EFF787128F5"
}

Error codes

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