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

# Update Memory

> Modify content, tags, or bitemporal validity of an existing memory record, generating a new revision version.

`PATCH /api/v1/memories/:id`

```bash PATCH /api/v1/memories/:id theme={null}
curl -X PATCH https://api.piyapi.cloud/api/v1/memories/8a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d \
  -H "Authorization: Bearer $PIYAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Updated compliance audit report status: Approved.",
    "tags": ["compliance", "soc2", "approved"]
  }'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.