aws ssm remove-tags-from-resource
Removes tag keys from the specified resource. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To remove a tag from a patch baseline
The following remove-tags-from-resource example removes tags from a patch baseline.
aws ssm remove-tags-from-resource --resource-type "PatchBaseline" --resource-id "pb-0123456789abcdef0" --tag-keys "Region"Identify--resource-typeThe type of resource from which you want to remove a tag.--resource-idThe ID of the resource from which you want to remove tags.--tag-keysTag keys that you want to remove from the specified resource.This command produces no output.
For more information, see Working with Patch Manager resources using the AWS CLI in the AWS Systems Manager User Guide.
Options
--resource-idThe ID of the resource from which you want to remove tags.--resource-typeThe type of resource from which you want to remove a tag.--tag-keysTag keys that you want to remove from the specified resource.