All Products
Search
Document Center

CloudOps Orchestration Service:DeleteApplicationGroup

Last Updated:Sep 05, 2024

Deletes an application group. You can call this operation only for the application groups which reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.

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
oos:DeleteApplicationGroup
  • ApplicationGroup
    acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The ID of the region. Set the value to cn-hangzhou.

cn-hangzhou
NamestringYes

The name of the application group.

MyApplicationGroup
ApplicationNamestringYes

The name of the application.

MyApplication
RetainResourcebooleanNo

Specifies whether to retain resources created by application manager when deleting the application. Valid values:

  • true
  • false
false

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F

Examples

Sample success responses

JSONformat

{
  "RequestId": "9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-12-11The request parameters of the API has changedView Change Details