Deletes an on-premises image.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteImage |
The operation that you want to perform. Set the value to DeleteImage. |
ClusterId | String | Yes | ehpc-hz-FYUr32**** |
The ID of the cluster. |
Repository | String | Yes | repo1 |
The name of the repository. |
ImageTag | String | No | latest |
The tag of the image. Default value: latest |
ContainerType | String | No | singularity |
The type of the container. Set the value to singularity. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
https://ehpc.cn-hangzhou.aliyuncs.com/?Action=DeleteImage
&ClusterId=ehpc-hz-FYUr32****
&Repository=repo1
&<Common request parameters>
Sample success responses
XML
format
<DeleteImageResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteImageResponse>
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The error message returned because the request has failed. The server is temporarily unavailable. |
For a list of error codes, visit the API Error Center.