Skip to main content
Memory Stores

Delete a memory store

DELETE /api/v1/cloud/memory_stores/{memory_store_id} Permanently deletes a memory store along with all its memories and versions.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Path parameters

ParameterTypeRequiredDescription
memory_store_idstringYesMemory Store ID with the memstore_ prefix

Example request

curl -X DELETE "https://api.qoder.com.cn/api/v1/cloud/memory_stores/memstore_019e3bb8d50674d9b082b73709c29c87" \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

Example response

HTTP 200 OK
{
  "id": "memstore_019e3bb8d50674d9b082b73709c29c87",
  "type": "memory_store_deleted"
}

Notes

No request body is required. Stores in either active or archived state can be deleted. Deletion is permanent and cannot be undone.

Error codes

HTTPtypeTrigger
401authentication_errorMissing or invalid authentication token
404not_found_errorNo Memory Store exists with the specified ID
For the complete error envelope, see Errors.