All Products
Search
Document Center

ENS:RollbackApplication

Last Updated:Mar 12, 2024

Rolls back the container version of a specific application.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringYes

The ID of the application.

474bdef0-d149-4695-abfb-52912d9143f0
FromAppVersionstringYes

The current version number.

v2-1
ToAppVersionstringNo

The target version number. By default, the system automatically rolls back the container version to the previous version.

v2
TimeoutintegerNo

The timeout period of the asynchronous rollback operation. Unit: seconds. Default value: 300.

1800

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

C0003E8B-B930-4F59-ADC0-0E209A9012A8

Examples

Sample success responses

JSONformat

{
  "RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8"
}

Error codes

HTTP status codeError codeError messageDescription
400MissingParameterThe input parameter that is mandatory for processing this request is not supplied.-
400NoPermissionPermission denied.-
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-
400InvalidParameterThe errorMessage is %s. Please check it again.-
400ens.interface.errorAn error occurred while calling the API.-
400CallInterfaceCall Interface Happen Error.An error occurred when you call the operation.

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

Change history

Change timeSummary of changesOperation
2023-12-21API Description Update. The Error code has changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Error CodesThe Error code has changed.
    Error Codes 400 change