# undoMemoryDream

Memory: undo one dreaming change (`eventId` from getMemoryDreamLog): what it retired or merged comes back, what it wrote is forgotten. On a waiting trust proposal it DECLINES the step. Accepting a trust step is not an operation: the person does it in the app. Refused when a later change depends on it.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "undoMemoryDream", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `eventId`: `ID!` (required)

## Response (data, an example)

```json
{
  "spacesMutation": {
    "memoryUndoDream": true
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "undoMemoryDream",
    "variables": {
      "eventId": "<eventId>"
    }
  }'
```
