Query all tags of a resource type.
GET /v2/{project_id}/{resource_type}/tags
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. You can obtain it in Obtaining a Project ID. |
resource_type |
Yes |
String |
Resource type.
|
None
Parameter |
Type |
Description |
---|---|---|
tags |
Array of object |
Tag list. For details, see Table 3. |
{ "tags": [ { "key": "key1", "values": [ "value1", "value2" ] }, { "key": "key2", "values": [ "value1", "value2" ] } ] }
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.