Deletes an Auto Scaling policy for an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:DeleteApplicationScalingRule |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /pop/v1/sam/scale/applicationScalingRule HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
7171a6ca-d1cd-4928-8642-7d5cfe69**** |
| ScalingRuleName |
string |
Yes |
The name of the Auto Scaling policy. |
timer-0800-2100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| RequestId |
string |
The request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| TraceId |
string |
The trace ID. You can use this ID to query the details of a call. |
0a98a02315955564772843261e**** |
| Message |
string |
Additional information. The following values may be returned:
|
success |
| ErrorCode |
string |
The error code. The following rules apply:
|
空 |
| Code |
string |
The status of the API call or a POP error code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the Auto Scaling policy was successfully deleted. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"TraceId": "0a98a02315955564772843261e****",
"Message": "success",
"ErrorCode": "空",
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | System.Upgrading | The system is being upgraded. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.