Nirmos
SDK reference

Memory delete all for user reference

Method signatures, parameters, responses and examples for memory delete all for user.

Use a configured server-side nirmos client from the quickstart. See the memory guide for prerequisites and workflows. Example IDs and configured model names are placeholders; replace them with organization-visible resources before executing. Mutating calls change live resources.

HTTP calls reject with APIError subclasses on unsuccessful HTTP responses and may throw NetworkError, TimeoutError or RequestAbortedError. Signatures describe SDK values after response decoding; they are not raw HTTP envelopes. Backend validation, permissions and feature availability remain authoritative.

MethodTransport
memory.deleteAllForUserControl plane

memory.deleteAllForUser

Delete User Memories

Control plane: POST /v1/memory/users/:userId/delete-all.

Credentials: Personal or service API key with the required grants.

Required permission: memory:erase.

REST endpoint, security and schemas · Related guide

Types: RequestOptions · Responses

nirmos.memory.deleteAllForUser(
  input: { userId: string; revokePermission?: boolean | undefined; },
  options?: RequestOptions | undefined
): Promise<Responses["deleteUserMemories"]>
ParameterRequiredType / default
inputYes{ userId: string; revokePermission?: boolean | undefined; }
optionsNoRequestOptions | undefined

Returns: Responses["deleteUserMemories"].

Example

const result = await nirmos.memory.deleteAllForUser({
  "userId": "user-id"
});

On this page