Deletes a version of an OpenSearch application.

Note
  • If an application has two versions, you can delete only the offline version.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only common request headers. For more information, see Common request parameters.

Request syntax

DELETE /v4/openapi/app-groups/[appGroupIdentity]/apps/[appId] HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes "my_app_group_name"

The name of the application.

appId Integer Path Yes 110116134

The ID of the version.

Response parameters

Parameter Type Example Description
requestId String 33477D76-C380-2D84-A4AD-043F52876CB1

The ID of the request.

result List 1

N/A

Examples

Sample requests

DELETE /v4/openapi/app-groups/os_function_test_v1/apps/110116134

Sample success responses

XML format

<requestId>33477D76-C380-2D84-A4AD-043F52876CB1</requestId>

JSON format

{
    "requestId": "33477D76-C380-2D84-A4AD-043F52876CB1"
}

Error codes

For a list of error codes, visit the API Error Center.