forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com> Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
12 KiB
12 KiB
Querying Tags of All Protected Instances in a Specified Project
Function
This API is used to query all resource tags of a protected instance in a specified project.
URI
Request
- Request parameters
- Example request
GET https://{Endpoint}/v1/{project_id}/protected-instances/tags
Response
- Parameter description
Parameter
Mandatory
Type
Description
tags
Yes
Array of objects
Specifies the tag list.
For details, see Table 1.
- Example response
{ "tags": [ { "key": "key1", "values": [ "value1", "value2" ] }, { "key": "key2", "values": [ "value1", "value2" ] } ] }
Returned Value
- Normal
Returned Value
Description
200
OK
- Abnormal
Returned Value
Description
400
Invalid parameters.
401
Authentication failed.
403
Insufficient permission.
404
The requested resource was not found.
500
Internal service error.
Parent topic: Tag Management