Skip to content

Untag Policy

iam_untag_policy R Documentation

Removes the specified tags from the customer managed policy

Description

Removes the specified tags from the customer managed policy. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Usage

iam_untag_policy(PolicyArn, TagKeys)

Arguments

PolicyArn

[required] The ARN of the IAM customer managed policy from which you want to remove tags.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

TagKeys

[required] A list of key names as a simple array of strings. The tags with matching keys are removed from the specified policy.

Value

An empty list.

Request syntax

svc$untag_policy(
  PolicyArn = "string",
  TagKeys = list(
    "string"
  )
)