All Products
Search
Document Center

Function Compute:TagResources

Last Updated:Oct 08, 2024

Adds tags to a resource.

Operation description

Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see Tag overview.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /2023-03-30/tags-v2 HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyTagResourcesInputYes

The configuration of the resource tag.

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history