如何只取消快照space?

How to cancel snapshot space only?

对于取消操作,我们正在取消已购买产品的计费项目。

但是对于取消快照space,(不是整个存储)我们用同样的方法尝试它returns错误。

如何取消快照的计费项目space?

尝试以下休息请求:

https://$user:$apiKey@api.softlayer.com/rest/v3.1/SoftLayer_Billing_Item_Cancellation_Request/createObject.json

Method: Post

{  
   "parameters":[  
      {  
         "complexType":"SoftLayer_Billing_Item_Cancellation_Request",
         "accountId":123123,
         "notes":"notes test",
         "items":[  
            {  
               "complexType":"SoftLayer_Billing_Item_Cancellation_Request_Item",
               "billingItemId":101726027,
               "immediateCancellationFlag":true
            }
         ]
      }
   ]
}

参考文献: