Chuyển tới nội dung chính

Deleting images

DELETE /v2/images/{image_id}

Request

Parameters

NameInTypeDescription
image_idpathstringThe UUID of the image.

Example

curl -ks -X DELETE \
-H 'Content-Type: application/json' \
-H 'X-Auth-Token: gAAAAA<...>' \
https://api.vietnix.cloud:9292/v2/images/9775d86a-8bf8-4200-a4b5-d892e931e8f6

Response

Status Codes

Success

CodeReason
204 - No ContentThe server has fulfilled the request.

Error

CodeReason
400 - Bad RequestSome content in the request was invalid.
401 - UnauthorizedUser must authenticate before making a request.
403 - ForbiddenPolicy does not allow current user to do this operation.
404 - Not FoundThe requested resource could not be found.
409 - ConflictThis operation conflicted with another operation on this resource.