Phone Numbers - Release Phone Number

구매한 전화 번호를 해제합니다.

DELETE {endpoint}/phoneNumbers/{phoneNumber}?api-version=2021-03-07

URI 매개 변수

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

string

통신 리소스(예 https://resourcename.communication.azure.com: )입니다.

phoneNumber
path True

string

해제할 전화 번호(예: +11234567890)

api-version
query True

string

호출할 API의 버전입니다.

응답

Name 형식 Description
202 Accepted

서비스가 요청을 수락했으며 나중에 처리를 시작합니다. 즉시 '수락됨'을 반환하고 'Operation-Location' 및 'Location' 헤더를 포함합니다. 클라이언트 쪽에서는 'Operation-Location' 헤더에 지정된 URL을 사용하여 작업 상태 추가로 쿼리해야 합니다. 작업이 완료되면 'Location' 헤더에 지정된 URL을 사용하여 최종 결과를 쿼리합니다.

Headers

  • Operation-Location: string
  • operation-id: string
  • release-id: string
Other Status Codes

CommunicationErrorResponse

실패

예제

Release phone number

Sample Request

DELETE https://resourcename.communication.azure.com//phoneNumbers/+11234567890?api-version=2021-03-07

Sample Response

Operation-Location: /phoneNumbers/operations/release_378ddf60-81be-452a-ba4f-613198ea6c28
operation-id: release_378ddf60-81be-452a-ba4f-613198ea6c28
release-id: 378ddf60-81be-452a-ba4f-613198ea6c28

정의

Name Description
CommunicationError

Communication Services 오류입니다.

CommunicationErrorResponse

Communication Services 오류입니다.

CommunicationError

Communication Services 오류입니다.

Name 형식 Description
code

string

오류 코드입니다.

details

CommunicationError[]

이 오류로 이어진 특정 오류에 대한 자세한 내용입니다.

innererror

CommunicationError

내부 오류(있는 경우)입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

CommunicationErrorResponse

Communication Services 오류입니다.

Name 형식 Description
error

CommunicationError

Communication Services 오류입니다.