DeleteOptionGroup - Amazon Relational Database Service

DeleteOptionGroup

Deletes an existing option group.

Request Parameters

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

OptionGroupName

The name of the option group to be deleted.

Note

You can't delete default option groups.

Type: String

Required: Yes

Errors

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

InvalidOptionGroupStateFault

The option group isn't in the available state.

HTTP Status Code: 400

OptionGroupNotFoundFault

The specified option group could not be found.

HTTP Status Code: 404

Examples

Example

This example illustrates one usage of DeleteOptionGroup.

Sample Request

https://rds.us-east-1.amazonaws.com/ ?Action=DeleteOptionGroup &OptionGroupName=myawsuser-og00 &SignatureMethod=HmacSHA256 &SignatureVersion=4 &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20140425/us-east-1/rds/aws4_request &X-Amz-Date=20140425T181205Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=8a684aebe6d5219bb3572316a341963324d6ef339bd0dcfa5854f1a01d401214

Sample Response

<DeleteOptionGroupResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/"> <ResponseMetadata> <RequestId>0ac9cda2-bbf4-11d3-f92b-31fa5e8dbc99</RequestId> </ResponseMetadata> </DeleteOptionGroupResponse>

See Also

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