detachDiskImage


SoftLayer_Virtual_Guest::detachDiskImage

Detaches a disk image.

Description

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.


Parameters

Name Type Description
imageId int

Required Headers

Optional Headers

Return Values

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'