Allows deleting models in the model list in the config.yaml
Successful Response
const response = await fetch('/model/delete', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "id": "text" }), }); const data = await response.json();
{ "detail": [ { "loc": [ "text" ], "msg": "text", "type": "text" } ] }