Querying All Tags of a Tenant
Function
This API is used to query the tags of all resources owned by a tenant in a specified project.
URI
GET /v1.0/{project_id}/dcs/tags
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
Request
None
Response
When the status code is 200, the response parameters are as follows.
Parameter |
Type |
Description |
---|---|---|
key |
String |
Tag key, which
|
values |
Array of strings |
Tag value, which
|
Example response
{ "tags": [ { "key": "001", "values": [ "002" ] }, { "key": "003", "values": [ "004" ] } ] }
Return Value
Return Value |
Description |
---|---|
200 |
Successfully queried all tags of a tenant. |
Error Codes
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot