Skip to main content

deleteInstanceTemplate

client.knowledgeGraph.deleteInstanceTemplate(id: string): Promise<unknown>

Deletes a knowledge graph instance template.

Removes the template definition. Instances created from this template continue to exist but can no longer reference the deleted template.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the template to delete

Returns

Promise<unknown> — A promise that resolves when deletion is complete

Example

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

const client = new CodeBoltClient();

const result = await client.knowledgeGraph.deleteInstanceTemplate('id');
console.log(result);