untagResource

Removes one or more tags from a resource.

Samples


fun main() { 
   //sampleStart 
   // The following example removes the Department tag from the specified resource.
securityHubClient.untagResource {
    resourceArn = "arn:aws:securityhub:us-west-1:123456789012:hub/default"
    tagKeys = listOf<String>(
        "Department"
    )
} 
   //sampleEnd
}