你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Call Connection - Hangup Call
从呼叫中挂起呼叫自动化服务。 这将使呼叫自动化服务离开呼叫,但如果调用中有多个调用方,则不会终止。
DELETE {endpoint}/calling/callConnections/{callConnectionId}?api-version=2024-09-15
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 |
错误 |
安全性
Authorization
Azure 通信服务用户访问令牌。
类型:
apiKey
在:
header
示例
CallConnection_HangupCall
示例请求
DELETE https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c?api-version=2024-09-15