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

Open in Claude
Open in ChatGPT

Delete Identity

client.identities.delete(stringidentityID, RequestOptionsoptions?): IdentityDeleteResponse
delete/v1/identities/{identity_id}

Delete an identity by its identifier key

ParametersExpand Collapse
identityID: string

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

minLength45
maxLength45
ReturnsExpand Collapse
IdentityDeleteResponse = unknown
Delete Identity
import Letta from '@letta-ai/letta-client';

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

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

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