Search code examples
apivirtual-machineibm-cloud-infrastructure

SoftLayer REST API Cancellation Request


I would like to cancel a SoftLayer device on a certain date in the future and found the following SoftLayer_Billing_Item_Cancellation_Request::createObject.

What would the request url look like and what would the POST parameters look like if I was using json?

Thanks


Solution

  • The answer that worked for me is the following:

    1. https://api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest/[deviceID]/getBillingItem.json
    2. https://api.softlayer.com/rest/v3/SoftLayer_Billing_Item/[BillingItemID]/cancelServiceOnAnniversaryDate.json

    Both are Get Requests.