Delete Space
Path Parameters
space_ref*Space Ref
Query Parameters
purge_working_memory?Purge Working Memory
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/spaces/string"{ "enabled": false, "spaces": [ { "id": "string", "key": "string", "name": "string", "aliases": [ "string" ], "description": "string", "icon": "string", "instructions": "string", "sharedSpaceIds": [ "string" ], "defaultRetrievalMode": "strict", "usage": { "memories": 0, "threads": 0, "sources": 0, "hasWorkingMemory": false }, "observed": false, "hasProfile": true } ]}{ "type": "space_delete_blocked", "spaceId": "string", "reason": "primary_records", "message": "string", "usage": { "memories": 0, "threads": 0, "sources": 0, "hasWorkingMemory": false }, "canPurgeWorkingMemory": false}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}