Skip to main content

switchDiskSub2PygCancel

Description

Cancel to switch instance from subscribtion to pay as you go.

Request Method

POST

Request Path

/customer/disk/switch/sub2pyg/cancel

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
instanceIdBODYstringYesNo sample value for this parameter.disk id
regionIdBODYstringYesNo sample value for this parameter.region id
orderIdBODYintegerNoNo sample value for this parameter.order id
billingMethodBODYstringYesNo sample value for this parameter.billing method

Return data

NameTypeSample valueDescription
resultobject`{"orderId":2.02207271417009997E+18}`No description for this parameter.
resultCodestring0No description for this parameter.
resultMsgstringsuccessNo description for this parameter.

Example

Successful Response example

{
"result":
{
"orderId":2.02207271417009997E+18
},
"resultCode":"0",
"resultMsg":"success"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}