Menghapus gambar kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DeleteImage |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
Yes |
ID image. Hanya satu ID yang didukung. Hanya gambar kustom yang didukung. |
m-5taesrgwpo9zqj9cjqu792**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Kode bisnis. Nilai 0 dikembalikan untuk keberhasilan. |
0 |
| RequestId |
string |
ID permintaan. |
0D94920B-0349-5097-A57F-31876405F2E5 |
Contoh
Respons sukses
JSONformat
{
"Code": 0,
"RequestId": "0D94920B-0349-5097-A57F-31876405F2E5"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | Forbidden.DelerrorteImage | The image cannot be deleted when used by instance. | |
| 400 | Error.DeleteImage | The image cannot be deleted when used by instance. | |
| 400 | IncorrectStatus.Image | The current status of the image does not support this operation. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.