GoodMemGoodMem
ReferenceAPIREST APILLMs

Delete an LLM

DELETE /v1/llms/{id}: Permanently deletes an LLM configuration.

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 on the requested LLM.

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 "https://your-goodmem-server.example.com/v1/llms/550e8400-e29b-41d4-a716-446655440000"
Empty
Empty
Empty
Empty
Empty