次の方法で共有


Phone Numbers - Release Phone Number

購入した電話番号を解放します。

DELETE {endpoint}/phoneNumbers/{phoneNumber}?api-version=2022-12-01

URI パラメーター

名前 / 必須 説明
endpoint
path True

string

url

通信リソース (例: https://resourcename.communication.azure.com

phoneNumber
path True

string

リリースする電話番号 (例: +11234567890)。

api-version
query True

string

呼び出す API のバージョン

応答

名前 説明
202 Accepted

サービスは要求を受け入れ、後で処理を開始します。 すぐに 'Accepted' が返され、'Operation-Location' ヘッダーが含まれます。 クライアント側では、'Operation-Location' ヘッダーで指定された URL を使用して、操作の状態をさらに照会する必要があります。

ヘッダー

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

CommunicationErrorResponse

失敗

Release phone number

要求のサンプル

DELETE https://resourcename.communication.azure.com//phoneNumbers/+11234567890?api-version=2022-12-01

応答のサンプル

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

定義

名前 説明
CommunicationError

Communication Services エラー。

CommunicationErrorResponse

Communication Services エラー。

CommunicationError

Communication Services エラー。

名前 説明
code

string

エラー コード。

details

CommunicationError[]

このエラーの原因となった特定のエラーの詳細。

innererror

CommunicationError

内部エラーがある場合。

message

string

エラー メッセージ。

target

string

エラーターゲット。

CommunicationErrorResponse

Communication Services エラー。

名前 説明
error

CommunicationError

Communication Services エラー。