カスタムイメージを削除します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:DeleteImage |
delete |
*Image
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageId |
string |
必須 |
イメージの ID。単一の ID のみがサポートされています。 カスタムイメージのみがサポートされています。 |
m-5taesrgwpo9zqj9cjqu792**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
integer |
ビジネスコード。成功した場合は値 0 が返されます。 |
0 |
| RequestId |
string |
リクエストの ID。 |
0D94920B-0349-5097-A57F-31876405F2E5 |
例
成功レスポンス
JSONJSON
{
"Code": 0,
"RequestId": "0D94920B-0349-5097-A57F-31876405F2E5"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。