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

Open in Claude
Open in ChatGPT

Delete Block

blocks.delete(strblock_id) -> object
delete/v1/blocks/{block_id}

Delete Block

ParametersExpand Collapse
block_id: str

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

minLength42
maxLength42
ReturnsExpand Collapse
object
Delete Block
from letta_client import Letta

client = Letta(
    api_key="My API Key",
)
block = client.blocks.delete(
    "block-123e4567-e89b-42d3-8456-426614174000",
)
print(block)
{}
Returns Examples
{}