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.
ApiKeyAuthx-api-key<token>id*stringThe unique identifier of the LLM to delete
GoodMem-Timeout-Ms?integerOptional waiting budget in milliseconds, measured from REST servlet ingress and shared across all internal gRPC calls. Supply one decimal integer from 1 to 86400000. Omission adds no deadline. Existing shorter deadlines still apply. Expiry returns HTTP 504 before streaming starts; after streaming starts, no successful completion event is sent. Use SSE or opt into GoodMem-Stream-Terminal for an explicit terminal outcome. Retrieval work is cooperatively cancelled. An accepted mutation may still commit after timeout or disconnect; a failed response does not imply rollback.
int641 <= value <= 86400000LLM successfully deleted
curl -X DELETE 'https://your-goodmem-server.example.com/v1/llms/550e8400-e29b-41d4-a716-446655440000' \ -H 'GoodMem-Timeout-Ms: 30000'