public function deleteSeries($id, $deleteFiles = true)
    {
        $uri = 'series';
        $uriData = [];
        $uriData['deleteFiles'] = ($deleteFiles) ? 'true' : 'false';

        $response = [
            'uri' => $uri . '/' . $id,
            'type' => 'delete',
            'data' => $uriData
        ];

        return $this->processRequest($response);
    }
public function deleteSeries($id, $deleteFiles = true)
    {
        $uri = 'series';
        $uriData = [];
        $uriData['deleteFiles'] = ($deleteFiles) ? 'true' : 'false';

        $response = [
            'uri' => $uri . '/' . $id,
            'type' => 'delete',
            'data' => $uriData
        ];

        return $this->processRequest($response);
    }
public function deleteSeries ( $ id , $ deleteFiles = true ) { $ uri = 'series' ; $ uriData = [ ] ; $ uriData [ 'deleteFiles' ] = ( $ deleteFiles ) ? 'true' : 'false' ; $ response = [ 'uri' => $ uri . '/' . $ id , 'type' => 'delete' , 'data' => $ uriData ] ; return $ this -> processRequest ( $ response ) ; }
Delete the series with the given ID

@param int $id
@param bool|true $deleteFiles
@return string
Delete the series with the given ID