UntagResource
Use this operation to remove tags on a resource
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.
- ResourceArn
-
The Amazon Resource Name (ARN) of the resource to which the tags are to be removed
Type: String
Required: Yes
- TagKeys
-
The list of keys of the tags that are to be removed
Type: Array of strings
Required: Yes
Response Syntax
{
"TagList": [
{
"Key": "string",
"Value": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Errors
For information about the errors that are common to all actions, see Common Errors.
- ACLNotFoundFault
-
HTTP Status Code: 400
- ClusterNotFoundFault
-
HTTP Status Code: 400
- InvalidARNFault
-
HTTP Status Code: 400
- InvalidClusterStateFault
-
HTTP Status Code: 400
- ParameterGroupNotFoundFault
-
HTTP Status Code: 400
- ServiceLinkedRoleNotFoundFault
-
HTTP Status Code: 400
- SnapshotNotFoundFault
-
HTTP Status Code: 400
- SubnetGroupNotFoundFault
-
HTTP Status Code: 400
- TagNotFoundFault
-
HTTP Status Code: 400
- UserNotFoundFault
-
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: