Menghapus tag dari kunci atau rahasia.
Deskripsi operasi
You can remove multiple tags from multiple keys or multiple secrets at a time. You cannot remove tags that start with aliyun or acs:.
If you enter multiple tag keys in the request parameters and only some of the tag keys are associated with resources, the operation can be called and the tags whose keys are associated with resources are removed from the resources.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah sumber daya. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Tipe Sumber daya yang ingin Anda menghapus tag-nya. Nilai valid:
|
key |
| All |
boolean |
No |
Apakah akan menghapus semua tag dari sumber daya. Nilai valid:
Catatan
Parameter ini hanya berlaku jika Anda menentukan kunci tag kosong. |
false |
| ResourceId |
array |
Yes |
ID Sumber daya yang ingin Anda menghapus tag-nya. Anda dapat memasukkan hingga 50 ID Sumber daya. Masukkan beberapa ID Sumber daya dalam format |
|
|
string |
No |
The IDs of the resources from which you want to remove tags. You can enter up to 50 resource IDs. Enter multiple resource IDs in the |
key-hzz62f1cb66fa42qo**** |
|
| TagKey |
array |
No |
Kunci tag yang ingin Anda hapus. Anda dapat memasukkan hingga 20 kunci tag. Masukkan beberapa kunci tag dalam format Catatan
Kunci tag tidak boleh dimulai dengan aliyun atau acs:. |
|
|
string |
No |
The keys of the tags that you want to remove. You can enter up to 20 tag keys. Enter multiple tag keys in the Catatan
The tag key cannot start with aliyun or acs:. |
disk-encryption |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
b1f210dc-e52c-4a86-b9dd-7492343d46c7 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "b1f210dc-e52c-4a86-b9dd-7492343d46c7"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. | |
| 404 | InvalidResourceId.NotFound | The specified ResourceId is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.