GoodMem
ReferenceAPIREST APILLMs

Delete an LLM

Permanently deletes an LLM configuration. This operation cannot be undone and removes the LLM record and securely deletes stored credentials.

IMPORTANT: This does NOT invalidate or delete any previously generated content using this LLM - existing generations remain accessible. Requires DELETE_LLM_OWN permission for LLMs you own (or DELETE_LLM_ANY for admin users).

DELETE
/v1/llms/{id}
x-api-key<token>

In: header

Path Parameters

idstring

The unique identifier of the LLM to delete

Response Body

curl -X DELETE "http://localhost:8080/v1/llms/550e8400-e29b-41d4-a716-446655440000"
Empty
Empty
Empty
Empty
Empty