v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448206184.6 KB

<important> <p>The UntagLogGroup operation is on the path to deprecation. We recommend that you use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html">UntagResource</a> instead.</p> </important> <p>Removes the specified tags from the specified log group.</p> <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>. To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html">TagResource</a>.</p> <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to log groups using the <code>aws:Resource/<i>key-name</i> </code> or <code>aws:TagKeys</code> condition keys. </p>

post/#X-Amz-Target=Logs_20140328.UntagLogGroup

Headers

X-Amz-Target'Logs_20140328.UntagLogGroup' required

Request body

logGroupNamestring required

The name of the log group.

tagsTagKey[] required

The tag keys. The corresponding tags are removed from the log group.

Response

Success