forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
3.2 KiB
3.2 KiB
Deleting an Image
Scenario
A private image can be deleted if it is no longer needed.
Involved APIs
If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header of the IMS API when making an API call.
Procedure
- Obtain the token.
- Send DELETE https://IMS endpoint/v2/images/Image ID.
- Add X-Auth-Token to the request header.
- Check the status code. If the request is successful, 204 is returned.
For details about status codes for request errors, see Status Codes.
Parent topic: Common Scenarios