All Products
Search
Document Center

Elastic High Performance Computing:DeleteImage

Last Updated:Apr 09, 2024

Deletes a local image.

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
ClusterIdstringYes

The ID of the cluster.

You can call the ListClusters operation to query the cluster ID.

ehpc-hz-FYUr32****
RepositorystringYes

The name of the repository.

You can call the ListContainerImages operation to query the name of the repository.

repo1
ImageTagstringNo

The tags of the image.

Default value: latest

latest
ContainerTypestringNo

The type of the container. Set the value to singularity.

singularity

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

04F0F334-1335-436C-A1D7-6C044FE7****

Examples

Sample success responses

JSONformat

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsInvalid param: %s-
400NotEnabledYou have not enabled this service
400InDebtYour account has overdue payments.
400InvalidContainerTypeUnsupported container type: %s.
404LoginNotFoundThe specified login node does not exist.
406AliyunErrorFailed to request other cloud service APIs.
406DbErrorDatabase request failed.
406AgentError.Image.DeleteImageFailed-
407NotAuthorizedThe request is not authorized by RAM.
500UnknownErrorAn unknown error occurred.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

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