Deletes a local image.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterId | string | Yes | The ID of the cluster. You can call the ListClusters operation to query the cluster ID. | ehpc-hz-FYUr32**** |
Repository | string | Yes | The name of the repository. You can call the ListContainerImages operation to query the name of the repository. | repo1 |
ImageTag | string | No | The tags of the image. Default value: latest | latest |
ContainerType | string | No | The type of the container. Set the value to singularity. | singularity |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParams | Invalid param: %s | - |
400 | NotEnabled | You have not enabled this service | |
400 | InDebt | Your account has overdue payments. | |
400 | InvalidContainerType | Unsupported container type: %s. | |
404 | LoginNotFound | The specified login node does not exist. | |
406 | AliyunError | Failed to request other cloud service APIs. | |
406 | DbError | Database request failed. | |
406 | AgentError.Image.DeleteImageFailed | - | |
407 | NotAuthorized | The request is not authorized by RAM. | |
500 | UnknownError | An unknown error occurred. | |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
For a list of error codes, visit the Service error codes.