タグが他のインスタンスに追加されていない場合、そのタグを削除します。
操作説明
-
一度に最大 20 個のタグを削除できます。
-
すべてのインスタンスからタグを削除すると、そのタグは自動的に削除されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dds:UntagResources |
update |
*Instance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
インスタンスのリージョン ID。 DescribeDBInstanceAttribute 操作を呼び出して、インスタンスのリージョン ID をクエリできます。 |
cn-hangzhou |
| ResourceType |
string |
必須 |
リソースタイプ。 値を INSTANCE に設定します。 |
INSTANCE |
| All |
boolean |
任意 |
インスタンスからすべてのタグを削除するかどうかを指定します。 有効な値:
説明
|
false |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
sg-bpxxxxxxxxxxxxxxxxxx |
| ResourceId |
array |
必須 |
リソース ID。 |
dds-bpxxxxxxxx |
|
string |
任意 |
リソースの ID。 |
dds-bpxxxxxxxx |
|
| TagKey |
array |
任意 |
リソースのタグキー。 |
Development |
|
string |
任意 |
タグのキー。 |
PRODUCT |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
FA3A7F36-DB57-4281-8935-4B9DF61554EB |
例
成功レスポンス
JSONJSON
{
"RequestId": "FA3A7F36-DB57-4281-8935-4B9DF61554EB"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidTagKey.Malformed | The specified parameter 'Tag.n.Key' or 'TagKey.n' is not valid. | |
| 400 | InvalidTagValue.Malformed | The specified parameter 'Tag.n.Value' is not valid. | |
| 400 | InvalidParameter.ResourceId | The specified parameter 'ResourceId.n' is not valid. | |
| 400 | MissParameter.TagOrResourceId | The parameter 'Tag.n'' or 'ResourceId.n' is needed. | |
| 400 | InvalidParameter.Scope | The specified parameter 'Scope' is not valid. | |
| 400 | NumberExceed.ResourceIds | The ResourceIds parameter's number is exceed. | |
| 400 | NumberExceed.Tags | The Tags parameter's number is exceed. | |
| 400 | Duplicate.TagKey | The specified parameter 'Tag.n.Key' is duplicated. | |
| 400 | InvalidParameter.ResourceType | The specified parameter 'ResourceType' is not valid. | |
| 404 | InvalidDbInstanceId.NotFound | Specified instance does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。