Menghapus tag dari instans Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
Anda dapat menghapus hingga 20 tag sekaligus.
Jika sebuah tag dihapus dari suatu instans dan tidak ditambahkan ke instans lain, tag tersebut akan dihapus.
Anda juga dapat menghapus tag dari instans melalui konsol Tair (kompatibel dengan Redis OSS). Untuk informasi selengkapnya, lihat Remove a tag.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:UntagResources |
delete |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah instans. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Jenis resource. Tetapkan nilainya ke INSTANCE. |
INSTANCE |
| All |
boolean |
No |
Menentukan apakah semua tag akan dihapus dari instans. Nilai yang valid:
Catatan
Jika Anda menentukan parameter ini dan parameter TagKey.N secara bersamaan, parameter ini tidak berlaku. |
false |
| ResourceId |
array |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
|
string |
No |
ID instans. |
r-bp1zxszhcgatnx**** |
|
| TagKey |
array |
No |
Daftar kunci tag. |
demokey |
|
string |
No |
Kunci tag. |
demokey |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
601B6F25-21E7-4484-99D5-3EF2625C**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "601B6F25-21E7-4484-99D5-3EF2625C****"
}
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 number is exceed. | |
| 400 | NumberExceed.Tags | The Tags parameter 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.