Memory
Forget
Forget one entry by id, or purge every entry containing some text.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Body
application/jsonSend exactly one of id or text.
Available options: json, yaml, markdown, text
Response
How many entries were removed Response format negotiates via the format field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON.
application/jsontext/yamltext/markdowntext/plain
invalid_json — body is not valid JSON
application/json
unauthorized — missing, invalid or revoked ozk_ key
application/json
memory_not_found — no entry with that id in your memory; not_found — no route for this method on this path: every other method answers it
application/json
memory_conflict — the id’s text is also contained in another entry; forget by text
application/json
invalid_params — send exactly one of id or text
application/json