deleteAgent()
This method deletes one AI agent resource.
Usage
The following example shows a basic usage of the backend client from @wacht/nextjs/server.
import { wachtClient } from '@wacht/nextjs/server';export async function example() { const client = await wachtClient(); const agentId: string = 'agentid-123'; return client.ai.deleteAgent(agentId);}Signature
function deleteAgent( agentId: string, client?: WachtClient,): Promise<void>Parameters
›agentId: string;
agentId: string;Target agent id.