Call Connection - Hangup Call
挂断呼叫自动化服务。 这将使呼叫自动化服务离开呼叫,但如果呼叫中有 1 个以上的呼叫者,则不会终止。
DELETE {endpoint}/calling/callConnections/{callConnectionId}?api-version=2026-03-12
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
call
|
path | True |
string |
呼叫连接 ID。 |
|
endpoint
|
path | True |
string (url) |
Azure 通信服务资源的端点。 |
|
api-version
|
query | True |
string |
调用API的版本。 |
请求头
| 名称 | 必需 | 类型 | 说明 |
|---|---|---|---|
| Authorization | True |
string |
Azure 通信服务用户访问令牌。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 204 No Content |
呼叫自动化服务已离开呼叫。 |
|
| Other Status Codes |
Communication |
Error |
安全性
Authorization
Azure 通信服务用户访问令牌。
类型:
apiKey
在:
header
示例
CallConnection_HangupCall
示例请求
DELETE https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c?api-version=2026-03-12