Skip to main content

deleteType

client.persistentMemory.deleteType(id: string): Promise<unknown>

Permanently deletes a persistent memory type definition.

Removes the type and its pipeline configuration. Previously generated memory entries are not affected by the deletion.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the type to delete

Returns

Promise<unknown> — A promise that resolves when the type has been deleted

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.persistentMemory.deleteType('id');
console.log(result);