Obtaining a User Tag Header
Function
This API is used to obtain user tag headers.
URI
GET /v1/{project_id}/tags/head
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
project_id |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
type |
Yes |
String |
Explanation Tag type, which can be user tag or user group tag. Constraints N/A Value range The enumerated values are:
Default value N/A |
offset |
No |
Integer |
Start offset of returned items. The default value is 0. |
limit |
No |
Integer |
Number of returned records. The default value is 10. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. Obtain a user token by calling IAM's "Obtaining a User Token" API. X-Subject-Token in the response header is the desired user token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
count |
Integer |
Number of data records. |
page_data |
Array of UserTagVo objects |
Data. |
Parameter |
Type |
Description |
---|---|---|
tag_description |
String |
tagDescription |
tag_id |
String |
tagId |
tag_name |
String |
tagName |
tag_type |
String |
Explanation Tag type, which can be user tag or user group tag. Constraints N/A Value range The enumerated values are:
Default value N/A |
Example Request
Obtain user tag headers.
GET https://{endpoint}/v1/{project_id}/tags?type=user
Example Response
None
Status Codes
Status Code |
Description |
---|---|
200 |
User tags are successfully listed. |
Error Codes
See Error Codes.
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