DeleteDBSubnetGroup - Amazon Neptune
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Deletes a DB subnet group.


The specified database subnet group must not be associated with any DB instances.

Request Parameters

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


The name of the database subnet group to delete.


You can't delete the default subnet group.


Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Type: String

Required: Yes


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


DBSubnetGroupName does not refer to an existing DB subnet group.

HTTP Status Code: 404


The DB subnet group cannot be deleted because it is in use.

HTTP Status Code: 400


The DB subnet is not in the available state.

HTTP Status Code: 400

See Also

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