Untag Resource
organizations_untag_resource | R Documentation |
Removes any tags with the specified keys from the specified resource¶
Description¶
Removes any tags with the specified keys from the specified resource.
You can attach tags to the following resources in Organizations.
-
Amazon Web Services account
-
Organization root
-
Organizational unit (OU)
-
Policy (any type)
This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.
Usage¶
Arguments¶
ResourceId
[required] The ID of the resource to remove a tag from.
You can specify any of the following taggable resources.
Amazon Web Services account – specify the account ID number.
Organizational unit – specify the OU ID that begins with
ou-
and looks similar to:ou-1a2b-34uvwxyz
Root – specify the root ID that begins with
r-
and looks similar to:r-1a2b
Policy – specify the policy ID that begins with
p-
andlooks similar to:p-12abcdefg3
TagKeys
[required] The list of keys for tags to remove from the specified resource.
Value¶
An empty list.