DeleteDBParameterGroup - Amazon Relational Database Service

DeleteDBParameterGroup

Deletes a specified DB parameter group. The DB parameter group to be deleted can't be associated with any DB instances.

Request Parameters

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

DBParameterGroupName

The name of the DB parameter group.

Constraints:

  • Must be the name of an existing DB parameter group

  • You can't delete a default DB parameter group

  • Can't be associated with any DB instances

Type: String

Required: Yes

Errors

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

DBParameterGroupNotFound

DBParameterGroupName doesn't refer to an existing DB parameter group.

HTTP Status Code: 404

InvalidDBParameterGroupState

The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you can't delete it when the parameter group is in this state.

HTTP Status Code: 400

Examples

Example

This example illustrates one usage of DeleteDBParameterGroup.

Sample Request

https://rds.us-east-1.amazonaws.com/ ?Action=DeleteDBParameterGroup &DBParameterGroupName=mydbparamgroup3 &SignatureMethod=HmacSHA256 &SignatureVersion=4 &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20140423/us-east-1/rds/aws4_request &X-Amz-Date=20140423T203550Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=7364d4d88b4200d14da46aac748781a6da08bc18c5fdc468ee18780e6f84b19e

Sample Response

<DeleteDBParameterGroupResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/"> <ResponseMetadata> <RequestId>cad6c267-ba25-11d3-fe11-33d33a9bb7e3</RequestId> </ResponseMetadata> </DeleteDBParameterGroupResponse>

See Also

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