Call Connection - Hangup Call
Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call.
DELETE {endpoint}/calling/callConnections/{callConnectionId}?api-version=2024-09-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
call
|
path | True |
string |
The call connection id. |
endpoint
|
path | True |
string url |
The endpoint of the Azure Communication resource. |
api-version
|
query | True |
string |
Version of API to invoke. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
Authorization | True |
string |
An Azure Communication Services user access token. |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
Call automation service has left the call. |
|
Other Status Codes |
Communication |
Error |
Security
Authorization
An Azure Communication Services user access token.
Type:
apiKey
In:
header
Examples
CallConnection_HangupCall
Sample request
DELETE https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c?api-version=2024-09-15