"SoftLayer_" prefix removed for readability.
Create a sales cancel service ticket.
A cancel service request creates a sales ticket. The hardware ID parameter is required to determine which server is to be cancelled.
The reason parameter could be from the list below:
The content parameter describes further the reason for cancelling service.
| Name | Type | Description |
|---|---|---|
| attachmentId | int | The internal identifier of the server or CloudLayer Computing Instance to cancel. |
| reason | string | Cancellation reason. |
| content | string | Cancellation content for ticket. A brief description explaining the cancellation reason. |
| attachmentType | enum |
|
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int, string, string, enum]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Ticket/createCancelServiceTicket'