This topic describes how to delete a scaling rule using the API.


Deletes a specified scaling rule.

Request parameters

Name Type Required Description
Action String Yes Operation interface, required. The parameter value is DeleteScalingRule.
ScalingRuleId String Yes ID of a scaling rule.

Response parameters

Public parameters.

Error code

For common errors, see client errors or server errors.

Error message Error code Description HTTP status code
The specified scaling rule does not exist in this account. InvalidScalingRuleId.NotFound The specified scaling rule does not exist. 404

Request example
&<Public Request Parameters>

Response example

XML format:


JSON format:

"RequestId": "F0595173-CA3A-4597-B0D3-97A07A042B9C"