December 30, 2015


Cancel an item or service

Use cancelService to cancel an item or service

Operation: GET

Method: SoftLayer_Billing_Item::cancelService()

URL: SoftLayer_Billing_Item/cancelService

Example CURL:

curl -su userid:api_key https://api.softlayer.com/rest/v3/SoftLayer_Billing_Item/<billing_item_id/cancelService

Example Response:

true

Note

If you are wanting to use the REST API to cancel a Bare Metal server you cannot use the cancelService call but rather you will need to utilize the cancelItem call. This call and provide a cancellation reason.


Feedback?

If this article contains any error, or leaves any of your questions unanswered, please help us out by opening up a github issue.
Open an issue