CancelPhysicalConnection
Cancels the connection of an Express Connect circuit. After the cancellation, the Express Connect circuit enters the Canceled state.
Operation description
You can cancel the connection of an Express Connect circuit only when it is in the Initial, Approved, Allocated, or Confirmed state (not activated). After an Express Connect circuit is created by calling CreatePhysicalConnection, it may briefly enter the Allocating state and cannot be canceled during this period. Call DescribePhysicalConnections to poll the state, and call this operation after the state changes to Allocated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:CancelPhysicalConnection |
update |
*PhysicalConnection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the Express Connect circuit is located. You can call the DescribeRegions operation to query the region ID. |
cn-shanghai |
| PhysicalConnectionId |
string |
Yes |
The ID of the Express Connect circuit. |
pc-119mfjzm7**** |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate the value of this parameter on the client. Make sure that the value is unique across different requests and contains a maximum of 64 ASCII characters. |
02fb3da4-130e-11e9-8e44-0016e04115b |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Examples
Success response
JSON format
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbidden.NotAllowedInState | The request does not allow in this state. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.