Skip to content

Removes one or more tags from a resource

Description

Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.

Usage

costexplorer_untag_resource(ResourceArn, ResourceTagKeys)

Arguments

  • ResourceArn

    [required] The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

  • ResourceTagKeys

    [required] A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

Value

An empty list.

Request syntax

svc$untag_resource(
  ResourceArn = "string",
  ResourceTagKeys = list(
    "string"
  )
)