Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Delete Archive

client.archives.delete(stringarchiveID, RequestOptionsoptions?): void
delete/v1/archives/{archive_id}

Delete an archive by its ID.

ParametersExpand Collapse
archiveID: string

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

minLength44
maxLength44
Delete Archive
import Letta from '@letta-ai/letta-client';

const client = new Letta({
  apiKey: 'My API Key',
});

await client.archives.delete('archive-123e4567-e89b-42d3-8456-426614174000');
Returns Examples