All Products
Search
Document Center

Cloud Architect Design Tools:DeleteApplication

Last Updated:Feb 27, 2024

Deletes an application.

Operation description

Before you call this operation to delete an application, make sure that the application is in the Destroyed_Success state. Otherwise, the application fails to be deleted.`` You can call the GetApplication operation to query the status of an application.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
bpstudio:DeleteApplicationWrite
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ApplicationIdstringYes

The ID of the application.

002XWH7MXB8MJRU0
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmyjt3c5om3hi

Response parameters

ParameterTypeDescriptionExample
object
Messagestring

The error message.

Success
RequestIdstring

The ID of the request.

A07FFDF2-78FA-1B48-9E38-88E833A93187
Codeinteger

The HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "Message": "Success",
  "RequestId": "A07FFDF2-78FA-1B48-9E38-88E833A93187",
  "Code": 200
}

Error codes

HTTP status codeError codeError message
400ParameterEmptyThe request parameter cannot be empty.
404EntityNotExist.ResourceGroupThe resource group does not exist.
404EntityNotExist.ResourceIdThe resource does not exist.
500ServiceErrorA server error occurred. Please try again later.

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

Change history

Change timeSummary of changesOperation
2023-03-24The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change
    delete Error Codes: 200
    delete Error Codes: 404
    delete Error Codes: 500