public function delete($id) {
        $this->checkPermissions('delete');
        
        return $this->client->deleteData($this->resourceName . '/' . $id);
    }
public function delete($id) {
        $this->checkPermissions('delete');
        
        return $this->client->deleteData($this->resourceName . '/' . $id);
    }
public function delete ( $ id ) { $ this -> checkPermissions ( 'delete' ) ; return $ this -> client -> deleteData ( $ this -> resourceName . '/' . $ id ) ; }
Delete model object

@param mixed $id Object id
@return boolean
Delete model object