You can call this operation to view all tags of a resource.

Request headers

This operation uses only common request headers. For more information, see Common parameters.

Request syntax

GET /tag 

Request parameters

Parameter Type Position Required Example Description
resourceArn String Query Yes acs:fc:cn-shanghai:18807708****6902:services/service_name

The Alibaba Cloud Resource Name (ARN).

Note You can use the value of this parameter to query information about the resource, such as the account, service, and region of the resource.

Response parameters

Parameter Type Example Description
resourceArn String acs:fc:cn-shanghai:18807708****6902:services/service_name

The Alibaba Cloud Resource Name (ARN).

Note You can use the value of this parameter to query information about the resource, such as the account, service, and region of the resource.
tags Map

The list of tags.

Examples

Sample requests

GET /2016-08-15/tag? resourceArn=services/service_name HTTP/1.1
Common request headers

Sample success responses

JSON format

HTTP/1.1 200 OK
Common response headers
{
  "resourceArn": "acs:fc:cn-shanghai:18807708****6902:services/service_name",
  "tags": {
    "test": "valve"
  }
}