Phone Numbers - Cancel Operation
Cancels an operation by its id.
DELETE {endpoint}/phoneNumbers/operations/{operationId}?api-version=2021-03-07
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
The communication resource, for example https://resourcename.communication.azure.com. |
operation
|
path | True |
string |
The id of the operation |
api-version
|
query | True |
string |
Version of API to invoke. |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
Success |
|
Other Status Codes |
Failure |
Examples
Delete long running operation with the given operation id
Sample request
DELETE https://resourcename.communication.azure.com//phoneNumbers/operations/search_my-operation-id?api-version=2021-03-07
Sample response
Definitions
Name | Description |
---|---|
Communication |
The Communication Services error. |
Communication |
The Communication Services error. |
CommunicationError
The Communication Services error.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
details |
Further details about specific errors that led to this error. |
|
innererror |
The inner error if any. |
|
message |
string |
The error message. |
target |
string |
The error target. |
CommunicationErrorResponse
The Communication Services error.
Name | Type | Description |
---|---|---|
error |
The Communication Services error. |