public function deleteMovie($id,$deleteFiles=false)
    {
        $uri = 'movie';

        try {
            $response = $this->_request(
                [
                    'uri' => $uri . '/' . $id,
                    'type' => 'delete',
                    'deleteFiles' => $deleteFiles
                ]
            );
        } catch ( \Exception $e ) {
            throw new InvalidException($e->getMessage());
        }

        return $response->getBody()->getContents();
    }
public function deleteMovie($id,$deleteFiles=false)
    {
        $uri = 'movie';

        try {
            $response = $this->_request(
                [
                    'uri' => $uri . '/' . $id,
                    'type' => 'delete',
                    'deleteFiles' => $deleteFiles
                ]
            );
        } catch ( \Exception $e ) {
            throw new InvalidException($e->getMessage());
        }

        return $response->getBody()->getContents();
    }
public function deleteMovie ( $ id , $ deleteFiles = false ) { $ uri = 'movie' ; try { $ response = $ this -> _request ( [ 'uri' => $ uri . '/' . $ id , 'type' => 'delete' , 'deleteFiles' => $ deleteFiles ] ) ; } catch ( \ Exception $ e ) { throw new InvalidException ( $ e -> getMessage ( ) ) ; } return $ response -> getBody ( ) -> getContents ( ) ; }
Delete the given movie file

@param $id - TMDB ID of the movie to remove
@param bool $deleteFiles - Optional, delete files along with remove from Radarr.
@return string
@throws InvalidException
Delete the given movie file