Menghapus tag dari Sumber daya.
Deskripsi operasi
Removing tags from resources helps simplify resource management, optimize system performance, and mitigate potential security vulnerabilities. After a tag is removed from a resource, the system automatically deletes the tag if the tag is not added to other resources.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /v2/openapi/untagresources HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Parameter badan permintaan. |
|
| ResourceType |
string |
No |
The type of the resource. valid value: instance: instance |
instance |
| ResourceIds |
array |
No |
The resource IDs, which are instance names. |
|
|
string |
No |
The resource ID, which is the instance name. |
asg-bp1gnlr8vqatuqukwrx1 |
|
| TagKeys |
array |
No |
The tag keys. |
|
|
string |
No |
The tag key. |
app-fl-test-0 |
|
| All |
boolean |
No |
Specifies whether to remove all tags from the resources. Default value: false. Valid values:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| requestId |
string |
The request ID, which can be used to troubleshoot issues. |
26B43C99-F5C9-5341-B462-37427C5BF201 |
Contoh
Respons sukses
JSONformat
{
"requestId": "26B43C99-F5C9-5341-B462-37427C5BF201"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.