"SoftLayer_" prefix removed for readability.
Create a sales cancel server ticket to be cancelled on next bill date.
A cancel server request creates a ticket to cancel the resource on next bill date. The hardware ID parameter is required to determine which server is to be cancelled. NOTE: Hourly bare metal servers will be cancelled on next bill date.
The reason parameter could be from the list below:
The content parameter describes further the reason for cancelling the server.
Name | Type | Description |
---|---|---|
attachmentId | int | The internal identifier of the server to cancel. |
reason | string | Cancellation reason. |
content | string | Cancellation content for ticket. A brief description explaining the cancellation reason. |
cancelAssociatedItems | boolean | Flag to indicate that associated billing items assigned to the server should be canceled also. |
attachmentType | enum |
|
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int, string, string, boolean, enum]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Ticket/createCancelServerTicket'