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

Open in Claude
Open in ChatGPT

Delete Block

client.blocks.delete(stringblockID, RequestOptionsoptions?): BlockDeleteResponse
delete/v1/blocks/{block_id}

Delete Block

ParametersExpand Collapse
blockID: string

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

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

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

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

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