

# DeleteDBParameterGroup
<a name="API_DeleteDBParameterGroup"></a>

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

## Request Parameters
<a name="API_DeleteDBParameterGroup_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** 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
+ Cannot be associated with any DB instances
Type: String  
Required: Yes

## Errors
<a name="API_DeleteDBParameterGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** DBParameterGroupNotFound **   
 *DBParameterGroupName* does not 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 cannot delete it when the parameter group is in this state.  
HTTP Status Code: 400

## See Also
<a name="API_DeleteDBParameterGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/neptune-2014-10-31/DeleteDBParameterGroup) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/neptune-2014-10-31/DeleteDBParameterGroup) 