Delete Agent
client.agents.delete(stringagentID, RequestOptionsoptions?): AgentDeleteResponse
/v1/agents/{agent_id}
Delete an agent.
Parameters
Returns
AgentDeleteResponse = unknown
Delete Agent
import Letta from '@letta-ai/letta-client';
const client = new Letta({
apiKey: 'My API Key',
});
const agent = await client.agents.delete('agent-123e4567-e89b-42d3-8456-426614174000');
console.log(agent);
{}Returns Examples
{}