Call Connection - Terminate Call

CallConnectionId를 사용하여 호출을 종료합니다.

POST {endpoint}/calling/callConnections/{callConnectionId}:terminate?api-version=2023-10-15

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
callConnectionId
path True

string

종료 호출 요청입니다.

endpoint
path True

string

url

Azure Communication 리소스의 엔드포인트입니다.

api-version
query True

string

호출할 API의 버전입니다.

요청 헤더

Name 필수 형식 Description
Authorization True

string

Azure Communication Services 사용자 액세스 토큰입니다.

Repeatability-Request-ID

string

uuid

지정된 경우 클라이언트는 요청을 반복할 수 있도록 지시합니다. 즉, 클라이언트는 동일한 Repeatability-Request-Id를 사용하여 요청을 여러 번 수행하고 서버가 요청을 여러 번 실행하지 않고 적절한 응답을 다시 가져올 수 있습니다. Repeatability-Request-Id 값은 요청에 대해 클라이언트에서 생성된 고유 식별자를 나타내는 불투명 문자열입니다. 버전 4(임의) UUID입니다.

Repeatability-First-Sent

string

date-time-rfc1123

Repeatability-Request-ID 헤더를 지정하는 경우 Repeatability-First-Sent 헤더도 지정해야 합니다. 값은 요청이 처음 생성된 날짜 및 시간이어야 하며, HTTP-date의 IMF 수정 형식을 사용하여 표현됩니다. 예: 1994년 11월 6일 일요일 08:49:37 GMT.

응답

Name 형식 Description
204 No Content

호출이 종료됩니다.

Other Status Codes

CommunicationErrorResponse

오류

보안

Authorization

Azure Communication Services 사용자 액세스 토큰입니다.

Type: apiKey
In: header

예제

CallConnection_TerminateCall

Sample Request

POST https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c:terminate?api-version=2023-10-15

Sample Response