Menghapus tag Sumber daya yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:UntagResources |
delete |
*FileSystem
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Tipe Sumber daya. Nilai valid:
|
filesystem |
| All |
boolean |
No |
Apakah akan melepas semua tag dari sistem file tujuan. Parameter ini hanya valid ketika TagKey.N kosong. Nilai valid:
|
false |
| ResourceId |
array |
Yes |
Daftar ID Sumber daya. ID Sumber daya tujuan. Nilai valid untuk N: 1 hingga 50. |
03e08484f0 |
|
string |
No |
ID Sumber daya.
|
31a8e4**** |
|
| TagKey |
array |
No |
Daftar kunci tag Sumber daya. Anda dapat menentukan hingga 20 kunci tag. |
nastest |
|
string |
No |
Kunci tag dari sistem file tujuan. Batasan:
|
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2D69A58F-345C-4FDE-88E4-BF518948**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2D69A58F-345C-4FDE-88E4-BF518948****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NumberExceed.ResourceIds | The maximum number of ResourceIds is exceeded. The maximum is 50. | |
| 400 | Duplicate.ResourceId | The request contains duplicated ResourceId. | |
| 400 | MissingParameter.ResourceIds | You must specify ResourceIds. | |
| 400 | InvalidParameter.TagKey | The specified Tag.n.Key is invalid. | |
| 400 | InvalidParameter.TagValue | The specified Tag.n.Value is invalid. | |
| 400 | Duplicate.TagKey | The Tag.N.Key contains a duplicated key. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.