Job Router Operations - Delete Worker

ワーカーとそのすべてのトレースを削除します。

DELETE {endpoint}/routing/workers/{workerId}?api-version=2023-11-01

URI パラメーター

名前 / 必須 説明
endpoint
path True

string

Communication リソースの URI

workerId
path True

string

ワーカーの ID。

api-version
query True

string

この操作に使用する API バージョン。

応答

名前 説明
204 No Content

この要求に送信するコンテンツはありませんが、ヘッダーが役に立つ場合があります。

Other Status Codes

Azure.Core.Foundations.ErrorResponse

予期しないエラー応答。

ヘッダー

x-ms-error-code: string

Deletes a worker and all of its traces

要求のサンプル

DELETE https://contoso.westus.communications.azure.com/routing/workers/DefaultWorker?api-version=2023-11-01

応答のサンプル

定義

名前 説明
Azure.Core.Foundations.Error

error オブジェクト。

Azure.Core.Foundations.ErrorResponse

エラーの詳細を含む応答。

Azure.Core.Foundations.InnerError

エラーに関するより具体的な情報を含むオブジェクト。 Microsoft One API のガイドラインに従って - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

Azure.Core.Foundations.Error

error オブジェクト。

名前 説明
code

string

サーバー定義のエラー コードのセットの 1 つ。

details

Azure.Core.Foundations.Error[]

この報告されたエラーの原因となった特定のエラーに関する詳細の配列。

innererror

Azure.Core.Foundations.InnerError

エラーに関する現在のオブジェクトよりも具体的な情報を含む オブジェクト。

message

string

エラーの人間が判読できる表現。

target

string

エラーのターゲット。

Azure.Core.Foundations.ErrorResponse

エラーの詳細を含む応答。

名前 説明
error

Azure.Core.Foundations.Error

error オブジェクト。

Azure.Core.Foundations.InnerError

エラーに関するより具体的な情報を含むオブジェクト。 Microsoft One API のガイドラインに従って - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

名前 説明
code

string

サーバー定義のエラー コードのセットの 1 つ。

innererror

Azure.Core.Foundations.InnerError

内部エラー。