Menghapus tag dari Sumber daya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:UntagResources |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
No |
Tipe Sumber daya. Nilai valid:
|
user |
| All |
boolean |
No |
Apakah akan menghapus semua tag dari Sumber daya. Nilai valid:
Catatan
Parameter ini hanya berlaku jika TagKey.N tidak ditetapkan di permintaan. |
false |
| ResourcePrincipalName |
array |
No |
Nama Sumber daya. Nilai valid N: 1 hingga 50. Jika parameter ResourceType diatur ke user, nama Sumber daya adalah nama Pengguna RAM. Catatan
Anda hanya harus menentukan salah satu parameter berikut: ResourceId dan ResourcePrincipalName. |
|
|
string |
No |
The name of resource N. Valid values of N: 1 to 50. If the ResourceType parameter is set to user, the resource name is the name of the RAM user. Catatan
You must specify only one of the following parameters: ResourceId and ResourcePrincipalName. |
test@example.onaliyun.com |
|
| ResourceId |
array |
No |
ID Sumber daya. Nilai valid N: 1 hingga 50. Jika parameter ResourceType diatur ke user, ID Sumber daya adalah ID Pengguna RAM. Catatan
Anda hanya harus menentukan salah satu parameter berikut: ResourceId dan ResourcePrincipalName. |
UntagResources |
|
string |
No |
The ID of resource N. Valid values of N: 1 to 50. If the ResourceType parameter is set to user, the resource ID is the ID of the RAM user. Catatan
You must specify only one of the following parameters: ResourceId and ResourcePrincipalName. |
20732900249392**** |
|
| TagKey |
array |
No |
Kunci tag Sumber daya. Nilai valid N: 1 hingga 20. N harus berurutan. |
|
|
string |
No |
The tag key of resource N. Valid values of N: 1 to 20. N must be consecutive. |
operator |
Untuk informasi selengkapnya tentang parameter permintaan umum, lihat Referensi API.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6AC79B74-9A78-58E2-818B-1D38EDC64D67 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6AC79B74-9A78-58E2-818B-1D38EDC64D67"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.