# Change something Neo remembers

Changes one of the caller's memories by its id (read the list first): its text, its kind (rule or fact), or both — "actually, send from Josh instead", "that is not a rule, just a fact". A field the body leaves out stays as it was. Another person's id is a 404.

Access class: `workspace`.

## Endpoint

`PATCH /v1/neo/memories/{id}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "kind": "string",
  "text": "string"
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "2026-01-01T00:00:00Z",
    "id": "",
    "kind": "string",
    "text": "string",
    "updatedAt": "2026-01-01T00:00:00Z"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
