"SoftLayer_" prefix removed for readability.
Detaches a disk image.
Creates a transaction to detach a guest’s disk image. If the disk image is already detached it will be ignored.
WARNING: The transaction created by this service will shut down the guest while the disk image is attached. The guest will be turned back on once this process is complete.
Name | Type | Description |
---|---|---|
imageId | int |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/detachDiskImage'