Menghapus tag jika tag tidak ditambahkan ke instans lain.
Deskripsi operasi
-
Anda dapat menghapus hingga 20 tag dalam satu waktu.
-
Jika Anda menghapus tag dari semua instans, tag tersebut akan dihapus secara otomatis.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:UntagResources |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region instans. Anda dapat memanggil operasi DescribeDBInstanceAttribute untuk meminta ID region instans. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Tipe sumber daya. Tetapkan nilainya ke INSTANCE. |
INSTANCE |
| All |
boolean |
No |
Menentukan apakah akan menghapus semua tag dari instans. Nilai yang valid:
Catatan
|
false |
| ResourceGroupId |
string |
No |
ID grup sumber daya. |
sg-bpxxxxxxxxxxxxxxxxxx |
| ResourceId |
array |
Yes |
ID sumber daya. |
dds-bpxxxxxxxx |
|
string |
No |
ID sumber daya. |
dds-bpxxxxxxxx |
|
| TagKey |
array |
No |
Kunci tag sumber daya. |
开发组 |
|
string |
No |
Kunci tag. |
PRODUCT |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
FA3A7F36-DB57-4281-8935-4B9DF61554EB |
Contoh
Respons sukses
JSONformat
{
"RequestId": "FA3A7F36-DB57-4281-8935-4B9DF61554EB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.