All Products
Search
Document Center

Simple Application Server:DeleteSnapshots

Last Updated:Apr 17, 2024

Deletes snapshots of a simple application server.

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
RegionIdstringYes

The region ID of the simple application server. You can call the ListRegions operation to query the most recent region list.

cn-hangzhou
SnapshotIdsstringYes

The snapshot IDs. The value can be a JSON array that consists of up to 100 snapshot IDs. Separate multiple snapshot IDs with commas (,).

["s-bp16oazlsold4dks****", "s-bp16oazlsold4abc****"]
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.

123e4567-e89b-12d3-a456-426655440000

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

C2DE174B-7196-5778-A00D-6EA2601B****

Examples

Sample success responses

JSONformat

{
  "RequestId": "C2DE174B-7196-5778-A00D-6EA2601B****"
}

Error codes

HTTP status codeError codeError message
404InvalidSnapshotId.NotFoundThe specified SnapshotId does not exist.
500InternalErrorAn error occurred while processing your request.

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

Change history

Change timeSummary of changesOperation
No change history