You can call this operation to delete tags from a resource.

Request headers

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

Request syntax

DELETE /tag 

Request parameters

Parameter Type Position Required Example Description
Object Body Yes

The definition of the tag to be deleted.

resourceArn String Body Yes acs:fc:cn-shanghai:18807708****6900: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.
tagKeys Array of String Body Yes 1

The key of the tag.

all Boolean Body Yes false

Specifies how to delete tags. Default value: false. Valid values:

  • false : delete the specified tag.
  • true : delete all tags.

Examples

Sample requests

DELETE /2016-08-15/tag HTTP/1.1

正常返回示例

JSON 格式

HTTP/1.1 200 OK 公共响应头