你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Phone Numbers - Cancel Operation

按其 ID 取消操作。

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

URI 参数

名称 必需 类型 说明
endpoint
path True

string

url

通信资源,例如 https://resourcename.communication.azure.com

operationId
path True

string

操作的 ID

api-version
query True

string

要调用的 API 版本

响应

名称 类型 说明
204 No Content

无内容

Other Status Codes

CommunicationErrorResponse

失败

示例

Delete long running operation with the given operation id

示例请求

DELETE https://resourcename.communication.azure.com//phoneNumbers/operations/search_my-operation-id?api-version=2022-12-01

示例响应

定义

名称 说明
CommunicationError

通信服务错误。

CommunicationErrorResponse

通信服务错误。

CommunicationError

通信服务错误。

名称 类型 说明
code

string

错误代码。

details

CommunicationError[]

有关导致此错误的特定错误的更多详细信息。

innererror

CommunicationError

内部错误(如果有)。

message

string

错误消息。

target

string

错误目标。

CommunicationErrorResponse

通信服务错误。

名称 类型 说明
error

CommunicationError

通信服务错误。