public function deleteHostedData($hostedDataId)
    {
        $service = $this->getService();

        $storageItem  = new Model\DataStorageItem($hostedDataId);
        $deleteAction = new Request\Action\DeleteHostedData($service, $storageItem);

        return $deleteAction->delete();
    }
public function deleteHostedData($hostedDataId)
    {
        $service = $this->getService();

        $storageItem  = new Model\DataStorageItem($hostedDataId);
        $deleteAction = new Request\Action\DeleteHostedData($service, $storageItem);

        return $deleteAction->delete();
    }
public function deleteHostedData ( $ hostedDataId ) { $ service = $ this -> getService ( ) ; $ storageItem = new Model \ DataStorageItem ( $ hostedDataId ) ; $ deleteAction = new Request \ Action \ DeleteHostedData ( $ service , $ storageItem ) ; return $ deleteAction -> delete ( ) ; }
Delete externally store data

@param string $hostedDataId

@return Response\Action\Confirm|Response\Error
@throws \Exception
Delete externally store data