You can call this operation to delete a scaling rule.

Description

This operation deletes a specified scaling rule.

Debugging

OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform operations such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description 
ScalingRuleId String Yes eMKWG8SRNb9dBLAjweN****

The ID of the scaling rule.

Action String No DeleteScalingRule

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

Response parameters

Parameter Type Example Description 
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request. This parameter is returned regardless of whether the operation is successful.

Examples

Sample requests


http://ess.aliyuncs.com/?Action=DeleteScalingRule
&ScalingRuleId=eMKWG8SRNb9dBLAjweN****
&<Common request parameters>

Successful response examples

XML format

<DeleteScalingRuleResponse> 
  <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId> 
</DeleteScalingRuleResponse> 

JSON format

{
	"RequestId":"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

View error codes

HTTP status code

Error code

Error message

Description

404

InvalidScalingRuleId.NotFound

The specified scaling rule does not exist.

The error message returned when no scaling rule by the specified ID exists in the current account.