Deletes a sort script.

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 the common request headers. For more information, see Common request parameters.

Request syntax

DELETE /v4/openapi/app-groups/[appGroupIdentity]/apps/[appVersionId]/sort-scripts/[scriptName] HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes search

The name or ID of the application.

appVersionId String Path Yes 1234567

The version number of the application.

scriptName String Path Yes cava

The name of the script.

Response parameters

Parameter Type Example Description
requestId String ABCDEFGH

The ID of the request.

Examples

Sample requests

DELETE /v4/openapi/app-groups/my_app/apps/123456/sort-scripts/script1

Sample success responses

XML format

<requestId>ABCDEFGH</requestId>

JSON format

{
    "requestId" : "ABCDEFGH"
}

Sample error response

Error response
{
    "requestId" : "ABCDEFGH"
	"code":"InvalidAppStatus",
    "message":"invalid app status.",
    "httpCode":400
}

Error codes

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