"SoftLayer_" prefix removed for readability.
Creates a cancellation request.
This method creates a service cancellation request.
You need to have “Cancel Services” privilege to create a cancellation request. You have to provide at least one SoftLayer_Billing_Item_Cancellation_Request_Item in the “items” property. Make sure billing item’s category code belongs to the cancelable product codes. You can retrieve the cancelable product category by the SoftLayer_Product_Item_Category::getValidCancelableServiceItemCategories service.
Name | Type | Description |
---|---|---|
templateObject | SoftLayer_Billing_Item_Cancellation_Request | The SoftLayer_Billing_Item_Cancellation_Request object that you wish to create. |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Billing_Item_Cancellation_Request]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Item_Cancellation_Request/createObject'