deleteObject


SoftLayer_Network_Storage_Backup_Evault::deleteObject

Delete a network storage volume

Description

Delete a network storage volume. ‘‘‘This cannot be undone.’’’ At this time only network storage snapshots may be deleted with this method.

‘‘deleteObject’’ returns Boolean ‘’true’’ on successful deletion or ‘‘false’’ if it was unable to remove a volume;


Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throw the exception “Only snapshots may be deleted with this method.” when attempting to remove anything other than a snapshot.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage_Backup_Evault/{SoftLayer_Network_Storage_Backup_EvaultID}/deleteObject'