Skip to main content
Glama

delete_entities

Remove entities like users, agents, or runs from the mem0 memory system and automatically delete all associated memories in cascade.

Instructions

Delete an entity and cascade-delete all its memories.

    Functionally equivalent to delete_all_memories in self-hosted mode.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNoUser entity to delete (cascades to all memories).
agent_idNoAgent entity to delete.
run_idNoRun entity to delete.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elvismdev/mem0-mcp-selfhosted'

If you have feedback or need assistance with the MCP directory API, please join our Discord server