This API is used to query all VPC tags of a tenant in a specified region.
Request parameter
None
Example request
GET https://{Endpoint}/v2.0/{project_id}/vpcs/tags
Response parameter
Parameter |
Type |
Description |
|---|---|---|
tags |
Array of tag objects |
Specifies the tag list. |
Name |
Type |
Description |
|---|---|---|
key |
String |
Specifies the tag key.
|
values |
Array of strings |
Specifies the tag value list.
|
Example response
{
"tags": [
{
"key": "key1",
"values": [
"value1",
"value2"
]
},
{
"key": "key2",
"values": [
"value1",
"value2"
]
}
]
}
See Status Codes.
See Error Codes.