Cancel a service or resource immediately. This does not include bare metal servers.
Description
Cancel the resource or service (excluding bare metal servers) for a billing Item. The billing item will be cancelled immediately and reclaim of the resource will begin shortly.
Parameters
None
Required Headers
Optional Headers
Return Values
Error Handling
- Throw the exception “This type of service cannot be cancelled through the API. Please submit a cancellation ticket” If a billing items service type cannot be cancelled through the API.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Item/{SoftLayer_Billing_ItemID}/cancelService'