Skip to content
Sign up

Delete Group

client.groups.delete(stringgroupID, RequestOptionsoptions?): GroupDeleteResponse
delete/v1/groups/{group_id}

Delete a multi-agent group.

ParametersExpand Collapse
groupID: string

The ID of the group in the format 'group-'

minLength42
maxLength42
ReturnsExpand Collapse
GroupDeleteResponse = unknown
Delete Group
import Letta from '@letta-ai/letta-client';

const client = new Letta({
  apiKey: process.env['LETTA_API_KEY'], // This is the default and can be omitted
});

const group = await client.groups.delete('group-123e4567-e89b-42d3-8456-426614174000');

console.log(group);
{}
Returns Examples
{}