deleteObject


SoftLayer_Network_Storage::deleteObject

Delete a network storage volume

Overview

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

Name Type Description

Required Headers

  • authenticate
  • SoftLayer_Network_StorageInitParameters

Return Values

  • boolean

Error Handling

  • SoftLayer_Exception

Throw the exception “Only snapshots may be deleted with this method.” when attempting to remove anything other than a snapshot.