deleteObject


SoftLayer_Network_Storage::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.