GoodMemGoodMem
ReferenceAPIREST APISpaces

Delete a space

DELETE /v1/spaces/{id}: Permanently deletes a space and all associated content.

Permanently deletes a space and all associated content. This operation cannot be undone.

CASCADE DELETION: Removes the space record and cascades deletion to associated memories, chunks, and embedder associations. Requires DELETE_SPACE on the requested space. This operation is safe to retry and may return NOT_FOUND if the space was already deleted.

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

In: header

Path Parameters

idstring

The unique identifier of the space to delete

Response Body

curl -X DELETE "https://your-goodmem-server.example.com/v1/spaces/550e8400-e29b-41d4-a716-446655440000"
Empty
Empty
Empty
Empty
Empty