Memory .delete
DELETE /{namespace}/memories/{id}
Deletes a Memory; its history is kept.
- Noun
- Memory
- Mode
do- Event
Memory.deleted
Delete removes a Memory; its history is kept. It is inherited: every Noun has get, list, create, update and delete.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Memory. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
memory | Memory | required | The Memory. |
Effects
- Emits
Memory.deleted. - One-way:
send,do.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Memory.delete |
When it waits
| Gate | Default |
|---|---|
| Decision class | Medium: one-way, bounded |
| Delay window | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |