Sign in
Docs
API referenceMemories

API reference

Delete a memory

Have a token? Manage tokens in the console
DELETE
/v1/memory/records/{record_id}

Delete a memory: an owner or an admin of the account, a person, never an assistant.

Needs scope decisions:write.

Authorization

bearer
headerAuthorizationBearer <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.

Path Parameters

record_id*string

The memory record.

Query Parameters

account_id?string

A team you belong to; empty for your own account.

Response Body

iohr.memory.v1.DeleteRecordResponse

application/json
  1. response

iohr.memory.v1.DeleteRecordResponse

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
{}