GoodMemGoodMem
ReferenceAPIREST APIDecision Models

Delete a decision model

DELETE /v1/decision-models/{id}: Removes the decision model from GoodMem.

Removes the decision model from GoodMem. Requires DELETE_DECISION_MODEL. This does not contact or delete the model at the provider. Returns 404 if the registration has already been deleted.

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

In: header

Path Parameters

idstring

UUID of the decision model

Header Parameters

GoodMem-Timeout-Ms?integer

Optional 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.

Formatint64
Range1 <= value <= 86400000

Response Body

curl -X DELETE "https://your-goodmem-server.example.com/v1/decision-models/550e8400-e29b-41d4-a716-446655440000" \  -H "GoodMem-Timeout-Ms: 30000"
Empty
Empty
Empty
Empty
Empty
Empty
Empty
Empty
Empty