Deletes an application.
Debugging
Request headers
This operation uses only common request headers. For more information, see Common request and response headers.
Syntax
DELETE /pop/v1/sam/app/deleteApplication HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
AppId | String | Query | Yes | 017f39b8-dfa4-4e16-a84b-1dcee4b1**** | The ID of the application. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** | The ID of the request. |
Message | String | success | The returned message.
|
TraceId | String | 0a98a02315955564772843261e**** | The trace ID that is used to query details of the request. |
Data | Object | The returned results. |
|
ChangeOrderId | String | 01db03d3-3ee9-48b3-b3d0-dfce2d88**** | The ID of the change order that is used to query the task execution status. |
ErrorCode | String | None | The error code that is returned if the request fails.
|
Code | String | 200 | The HTTP status code. Valid values:
|
Success | Boolean | true | Indicates whether the application is deleted. Valid values:
|
Examples
Sample requests
DELETE /pop/v1/sam/app/deleteApplication?AppId=017f39b8-dfa4-4e16-a84b-1dcee4b1**** HTTP/1.1
Host:sae.aliyuncs.com
Content-Type:application/json
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteApplicationResponse>
<RequestId>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</RequestId>
<Message>success</Message>
<TraceId>0a98a02315955564772843261e****</TraceId>
<Data>
<ChangeOrderId>01db03d3-3ee9-48b3-b3d0-dfce2d88****</ChangeOrderId>
</Data>
<Code>200</Code>
<Success>true</Success>
</DeleteApplicationResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message" : "success",
"TraceId" : "0a98a02315955564772843261e****",
"Data" : {
"ChangeOrderId" : "01db03d3-3ee9-48b3-b3d0-dfce2d88****"
},
"Code" : "200",
"Success" : true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidApplication.NotFound | The current application does not exist. | The error message returned because the specified application is not found. |
400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | The error message returned because the value of the %s parameter is invalid. This parameter cannot be left empty. |
400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | The error message returned because the value of the %s parameter is invalid. |
400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | The error message returned because the value of the %s parameter is invalid: %s. |
400 | Application.ChangerOrderRunning | An application change process is in progress. Please try again later. | The error message returned because an application change is in progress. Try again later. |
For a list of error codes, visit the API Error Center.