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

Open in Claude
Open in ChatGPT

Delete Identity

identities.delete(stridentity_id) -> object
delete/v1/identities/{identity_id}

Delete an identity by its identifier key

ParametersExpand Collapse
identity_id: str

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

minLength45
maxLength45
ReturnsExpand Collapse
object
Delete Identity
from letta_client import Letta

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