public function deleteById(string $modelId)
    {
        $deleteResult = $this->getRequest()->request(
            'DELETE',
            $this->getRequestUrl(sprintf('models/%s', $modelId))
        );

        return $deleteResult['status'];
    }
public function deleteById(string $modelId)
    {
        $deleteResult = $this->getRequest()->request(
            'DELETE',
            $this->getRequestUrl(sprintf('models/%s', $modelId))
        );

        return $deleteResult['status'];
    }
public function deleteById ( string $ modelId ) { $ deleteResult = $ this -> getRequest ( ) -> request ( 'DELETE' , $ this -> getRequestUrl ( sprintf ( 'models/%s' , $ modelId ) ) ) ; return $ deleteResult [ 'status' ] ; }
Delete Model By Id

@param string $modelId

@return array
Delete Model By Id