你当前正在访问 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 |
|
operation
|
path | True |
string |
操作的 ID |
api-version
|
query | True |
string |
要调用的 API 版本 |
响应
名称 | 类型 | 说明 |
---|---|---|
204 No Content |
无内容 |
|
Other Status Codes |
失败 |
示例
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
示例响应
定义
名称 | 说明 |
---|---|
Communication |
通信服务错误。 |
Communication |
通信服务错误。 |
CommunicationError
通信服务错误。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
details |
有关导致此错误的特定错误的更多详细信息。 |
|
innererror |
内部错误(如果有)。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
CommunicationErrorResponse
通信服务错误。
名称 | 类型 | 说明 |
---|---|---|
error |
通信服务错误。 |