> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# delete • AI Agent SDK

> delete: Delete an entry.

# delete

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**LearnProtocol**](../classes/LearnProtocol) class in the [**protocols**](../modules/protocols) module.

Delete an entry.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def delete(entry_id: str) -> bool
```

## Parameters

<ParamField query="entry_id" type="str" required={true}>
  Entry identifier
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if deleted, False if not found
</ResponseField>

## Used By

* [`Knowledge.delete`](../functions/Knowledge-delete)
* [`Memory.delete_long_term`](../functions/Memory-delete_long_term)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/learn/protocols.py#L127">
  `praisonaiagents/memory/learn/protocols.py` at line 127
</Card>
