

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

# 在 Amazon Connect 中刪除流量分佈群組
<a name="delete-traffic-distribution-groups"></a>

使用 [DeleteTrafficDistributionGroup](https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html) API 刪除不再需要的流量分佈群組。

**注意**  
如果電話號碼是向流量分佈群組取得，則您無法刪除該流量分佈群組。您必須先使用 [ReleasePhoneNumber](https://docs.aws.amazon.com/connect/latest/APIReference/API_ReleasePhoneNumber.html) API，從流量分佈群組釋出電話號碼。之後，您可以刪除流量分佈群組。  
您無法使用 Amazon Connect 主控台從流量分佈群組釋出號碼。

如果電話號碼仍向流量分佈群組取得，您的 [DeleteTrafficDistributionGroup](https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html) API 呼叫將會失敗，並顯示 `ResourceInUseException`。