指定された Elastic Block Storage (EBS) リソースからタグを削除します。
操作説明
一度に最大 20 個のタグを削除できます。
EBS リソースからタグが削除された後、そのタグがいずれのインスタンスにも追加されていない場合、タグは自動的に削除されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:UntagResources |
delete |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ResourceId |
array |
必須 |
リソースの ID リスト。各呼び出しで最大 50 個のリソース ID を指定できます。 |
disk-123 |
|
string |
任意 |
リソース N の ID。N の有効値:1~50。 |
pair-cn-c4d2t7f**** |
|
| TagKey |
array |
任意 |
タグキーのリスト。リストには最大 20 個のタグキーを指定できます。 |
disk-123 |
|
string |
任意 |
タグ N のキー。N の有効値:1~20。 |
TestKey |
|
| All |
boolean |
任意 |
リソースからすべてのタグを削除するかどうかを指定します。このパラメーターは、TagKey.N パラメーターが指定されていない場合にのみ有効です。有効値:
デフォルト値:false。 |
false |
| RegionId |
string |
必須 |
リソースのリージョン ID。DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| ResourceType |
string |
必須 |
リソースのタイプ。有効値:
|
diskreplicapair |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。クライアントを使用して値を生成できますが、異なるリクエスト間で一意であることを確認する必要があります。ClientToken の値は ASCII 文字のみを含めることができ、長さは 64 文字を超えることはできません。詳細については、「べき等性を確保する方法」をご参照ください。 |
0c593ea1-3bea-11e9-b96b-88e9fe63**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
TagResponse |
||
| RequestId |
string |
リクエストの ID。呼び出しが成功したかどうかに関係なく、リクエスト ID が返されます。 |
C46FF5A8-C5F0-4024-8262-B16B6392**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "C46FF5A8-C5F0-4024-8262-B16B6392****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter | The parameter %s is invalid. | |
| 400 | InvalidParameter.Conflict | The specified parameter %s and %s are not blank at the same time. | |
| 400 | InvalidParameter.Format | Specified parameter format is not valid. | |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | |
| 400 | Duplicate.TagKey | The Tag.N.Key contain duplicate key. | |
| 400 | NumberExceed.ResourceIds | The ResourceIds parameter number is exceed , Valid : 50 | |
| 400 | NumberExceed.Tags | NumberExceed.Tags | |
| 400 | OperationDenied.QuotaExceed | The quota of tags on resource is beyond permitted range. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | Forbidden | User is not authorized to operate. | |
| 403 | Forbidden.Action | User is not authorized to operate this action. | |
| 403 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | |
| 403 | LastTokenProcessing | The last token request is processing. | |
| 403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | |
| 403 | OperationDenied | The operation is not allowed. | |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | InvalidResourceId.NotFound | The specified ResourceIds are not found in our records. | |
| 404 | InvalidResourceType.NotFound | The ResourceType provided does not exist in our records. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist. | |
| 404 | NoSuchResource | The specified resource does not exist. | |
| 504 | RequestTimeout | The request is timeout, please try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。