DeletePhysicalConnection - 删除物理专线

调用DeletePhysicalConnection接口删除物理专线连接。

接口说明

只能删除 AllocatedConfirmedRejectedCanceledAllocationFailedTerminated 状态的物理专线连接。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
RegionIdstring

物理专线所在的地域 ID。

您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-shanghai
PhysicalConnectionIdstring

物理专线实例 ID。

pc-119mfjzm7*********
ClientTokenstring

客户端 Token,用于保证请求的幂等性。

由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过 64 个 ASCII 字符。

02fb3da4-130e-11e9-8e44-0016e04115b

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

0ED8D006-F706-4D23-88ED-E11ED28DCAC0

示例

正常返回示例

JSON格式

{
  "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}

错误码

HTTP status code错误码错误信息描述
400InvalidPhysicalConnectionId.NotMatchedinstance id not matched.实例ID不匹配。
400Forbidden.VBRExistsphysical connection owner's vbr still exists.物理连接的VBR仍然存在。
400Forbidden.VBRExistsvbr owner's vbr still exists.边界路由器仍然存在。
400Forbidden.AssociateToVBRThe physical connection still associate to VBR.该物理专线已经关联了边界路由器。
400OperationDenied.NeedVpconnOwnerThe operation is denied.删除失败,需要共享端口的用户去删除。
400OperationDenied.NeedPconnOwnerThe operation is denied.删除失败,需要物理端口的用户去删除。
400Forbidden.VBRExistsThe vbr still exists.vbr仍然存在,无法删除端口。
400Forbidden.NotInAllowDeleteStatusOnly physical connection in the Cancelled, Rejected, Terminated, Allocated, or AllocationFailed states can be deleted.只有处于已取消、已拒绝、已终止、已分配、分配失败状态的物理专线才可以被删除。
400ResourceAlreadyAssociated.PconnQosThe specified resource of PconnQos is already associated.物理专线已经绑定到了其他的QoS策略上。
400ResourceNotFound.PhysicalConnectionIdPhysicalConnection is not found.PhysicalConnectionId未找到。
404InvalidPhysicalConnectionId.NotFoundThe PhysicalConnectionId provided does not exist in our records.该物理专线不存在。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-06-13OpenAPI 错误码发生变更查看变更详情
2024-02-01OpenAPI 错误码发生变更查看变更详情
2023-11-28OpenAPI 描述信息更新、OpenAPI 错误码发生变更查看变更详情