UntagResource - OpsWorks


Removes specified tags from an AWS OpsWorks CM server or backup.

Request Syntax

{ "ResourceArn": "string", "TagKeys": [ "string" ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


The Amazon Resource Number (ARN) of a resource from which you want to remove tags. For example, arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.

Type: String

Pattern: arn:aws.*:opsworks-cm:.*:[0-9]{12}:.*

Required: Yes


The keys of tags that you want to remove.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


The resource is in a state that does not allow you to perform a specified action.

HTTP Status Code: 400


The requested resource does not exist, or access was denied.

HTTP Status Code: 400


One or more of the provided request parameters are not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: