Menu
Amazon Relational Database Service
API Reference (API Version 2014-10-31)

RemoveTagsFromResource

Removes metadata tags from an Amazon RDS resource.

For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources.

Request Parameters

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

ResourceName

The Amazon RDS resource the tags will be removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Type: String

Required: Yes

TagKeys.member.N

The tag key (name) of the tag to be removed.

Type: array of Strings

Required: Yes

Errors

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

DBClusterNotFoundFault

DBClusterIdentifier does not refer to an existing DB cluster.

HTTP Status Code: 404

DBInstanceNotFound

DBInstanceIdentifier does not refer to an existing DB instance.

HTTP Status Code: 404

DBSnapshotNotFound

DBSnapshotIdentifier does not refer to an existing DB snapshot.

HTTP Status Code: 404

Example

Sample Request

Copy
https://rds.us-west-2.amazonaws.com/ ?Action=RemoveTagsFromResource &ResourceName=arn%3Aaws%3Ards%3Aus-west-2%3A123456789012%3Adb%3Asample &SignatureMethod=HmacSHA256 &SignatureVersion=4 &TagKeys.member.1=InstanceType &TagKeys.member.2=Owner &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20160913/us-west-2/rds/aws4_request &X-Amz-Date=20160913T174918Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=4c72f307a75444461bd9b9ccb7de361fec75b8adad66a52824226320d0a33ca8

Sample Response

Copy
<RemoveTagsFromResourceResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/"> <ResponseMetadata> <RequestId>126d40cc-79da-11e6-b8e4-29f0c684be5d</RequestId> </ResponseMetadata> </RemoveTagsFromResourceResponse>

See Also

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