

# Deleting a custom endpoint
<a name="aurora-endpoints-custom-deleting"></a>

Delete a custom endpoint using the Amazon Web Services Management Console, Amazon CLI, or the Amazon RDS API.

## Console
<a name="aurora-delete-endpoint.console"></a>

To delete a custom endpoint with the Amazon Web Services Management Console, go to the cluster detail page, select the appropriate custom endpoint, and select the **Delete** action.

![\[Delete custom endpoint page.\]](http://docs.amazonaws.cn/en_us/AmazonRDS/latest/AuroraUserGuide/images/AuroraDeleteCustomEndpoint.png)


## Amazon CLI
<a name="aurora-delete-endpoint.cli"></a>

To delete a custom endpoint with the Amazon CLI, run the [delete-db-cluster-endpoint](https://docs.amazonaws.cn/cli/latest/reference/rds/delete-db-cluster-endpoint.html) command.

The following command deletes a custom endpoint. You don't need to specify the associated cluster, but you must specify the region.

For Linux, macOS, or Unix:

```
aws rds delete-db-cluster-endpoint --db-cluster-endpoint-identifier custom-end-point-id \
  --region region_name
```

For Windows:

```
aws rds delete-db-cluster-endpoint --db-cluster-endpoint-identifier custom-end-point-id ^
  --region region_name
```

## RDS API
<a name="aurora-delete-endpoint.api"></a>

To delete a custom endpoint with the RDS API, run the [DeleteDBClusterEndpoint](https://docs.amazonaws.cn/AmazonRDS/latest/APIReference/API_DeleteDBClusterEndpoint.html) operation.