API referenceMemories
API reference
Delete a memory
Have a token? Manage tokens in the console
DELETE
Delete a memory: an owner or an admin of the account, a person, never an assistant.
Needs scope decisions:write.
bearerheader
AuthorizationBearer <JWT>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
record_id*stringThe memory record.
account_id?stringA team you belong to; empty for your own account.
iohr.memory.v1.DeleteRecordResponse
application/json- response
iohr.memory.v1.DeleteRecordResponse
SDK
HTTP
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { const { value } = await api.memory.deleteRecord("<record_id>"); console.log(value);} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`); process.exitCode = 1;}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
Example Response
{}