Melepas tag dari instans database Database Apsara for Tair (Redis® OSS-Compatible).
Deskripsi operasi
Anda dapat melepas hingga 20 tag per pengatur waktu.
Setelah tag dilepas dari instans, tag akan dihapus secara otomatis jika tidak terikat pada instans lain.
Untuk operasi konsol yang sesuai, lihat Melepas 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. Anda dapat memanggil DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Tipe Sumber daya. Atur nilainya menjadi INSTANCE. |
INSTANCE |
| All |
boolean |
No |
Apakah akan melepas semua tag dari instans. Nilai valid:
Catatan
Jika Anda menentukan TagKey.N dan parameter ini secara bersamaan, parameter ini tidak berlaku. |
false |
| ResourceId |
array |
Yes |
Daftar 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.