删除物理机-TerminatePHost

删除物理云主机

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring数据中心, 参见 数据中心列表Yes
Zonestring可用区,参见 可用区列表No
PHostIdstringPHost资源IDYes
ProjectIdstring组织IDYes

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
PHostIdstringPHost 的资源IDNo

Request Example

http://api.ucloud.cn/?Action=TerminatePHost
&PHostId=upm-oaix4s
&ProjectId=org1
&Region=cn-bj2
&Zone=cn-bj2-04

Response Example

{
    "Action": "TerminatePHostResponse",
    "PHostId": "upm-oaix4s",
    "RetCode": 0
}