

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 刪除代理端點
<a name="rds-proxy-endpoints.DeletingEndpoint"></a>

 若要刪除代理的端點，請遵循下列指示：

**注意**  
 您無法刪除 RDS Proxy 自動為每個代理建立的預設代理端點。  
 當您刪除代理時，RDS Proxy 會自動刪除所有關聯的端點。

## 主控台
<a name="rds-proxy-endpoints.DeleteEndpoint.console"></a>

**若要使用 AWS 管理主控台 來刪除代理端點**

1.  在導覽窗格中，選擇 **Proxies** (代理)。

1.  在清單中，選擇您要刪除其端點的代理。按一下代理名稱，以檢視其詳細資訊頁面。

1.  在 **Proxy endpoints** (代理端點) 區段中，選擇您要刪除的端點。您可以在清單中選取一個或多個端點，或者按一下單一端點的名稱，以檢視詳細資訊頁面。

1.  在代理詳細資訊頁面的 **Proxy endpoints** (代理端點) 區段中，選擇 **Delete** (刪除)。或者在代理端點詳細資訊頁面上，針對**動作**，選擇**刪除**。

## AWS CLI
<a name="rds-proxy-endpoints.DeleteEndpoint.cli"></a>

 若要刪除代理端點，請執行 [delete-db-proxy-endpoint](https://docs.aws.amazon.com/cli/latest/reference/rds/delete-db-proxy-endpoint.html) 命令，其中包含下列必要參數：
+  `--db-proxy-endpoint-name` 

 下列命令會刪除名稱為 `my-endpoint` 的代理端點。

對於 Linux、macOS 或 Unix：

```
aws rds delete-db-proxy-endpoint \
  --db-proxy-endpoint-name my-endpoint
```

在 Windows 中：

```
aws rds delete-db-proxy-endpoint ^
  --db-proxy-endpoint-name my-endpoint
```

## RDS API
<a name="rds-proxy-endpoints.DeleteEndpoint.api"></a>

 若要使用 RDS API 刪除代理端點，請執行 [DeleteDBProxyEndpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DeleteDBProxyEndpoint.html) 操作。指定代理端點 `DBProxyEndpointName` 參數的名稱。