Unable to unload/delete a model for default project

curl -X DELETE localhost:8087/models?project=default&model=model_20181115-114843
[1] 92627
zsh: no matches found: localhost:8087/models?project=default                                                                                                                                                
[1]  + 92627 exit 1     curl -X DELETE localhost:8087/models?project=default

Trying to delete a model for given default project returns an error.

Here is the status of my server, as you can see it has proper models and project

        curl localhost:8087/status | python -mjson.tool
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 10576    0 10576    0     0  1182k      0 --:--:-- --:--:-- --:--:-- 1291k
    {
        "available_projects": {
            "default": {
                "available_models": [
                    "model",
                    "model_20181115-114843",
                    "model_20181115-114811",
                    "model_20181115-115823"

Hi @mohdgadi, Your error is a zsh error - you need to enclose the URL in quotes. Please use

curl -X DELETE "http://localhost:8087/models?project=default&model=model_20181115-114843"
1 Like

thanks that solves