Skip to content

Untag Resource

securityhub_untag_resource R Documentation

Removes one or more tags from a resource

Description

Removes one or more tags from a resource.

Usage

securityhub_untag_resource(ResourceArn, TagKeys)

Arguments

ResourceArn

[required] The ARN of the resource to remove the tags from.

TagKeys

[required] The tag keys associated with the tags to remove from the resource. You can remove up to 50 tags at a time.

Value

An empty list.

Request syntax

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

Examples

## Not run: 
# The following example removes the 'Department' tag from the specified
# resource.
svc$untag_resource(
  ResourceArn = "arn:aws:securityhub:us-west-1:123456789012:hub/default",
  TagKeys = list(
    "Department"
  )
)

## End(Not run)