Axelered AI
API Config

Delete LLM Configuration

DELETE
/w/{workspace_id}/config/models/{model_id}

Soft-delete an LLM configuration. Fails if the configuration is currently in use by the workspace.

Path Parameters

model_id*Model Id
Formatuuid
workspace_id*Workspace Id
Formatuuid

Response Body

application/json

application/json

{  "status": "ok"}
{  "detail": [    {      "loc": [        "body",        "name"      ],      "msg": "Field required",      "type": "missing"    },    {      "loc": [        "body",        "config",        "provider"      ],      "msg": "Input should be 'openai', 'mistral' or 'local'",      "type": "enum",      "input": "invalid-provider"    }  ]}