Identities
Delete identity
Delete an identity with the TypeScript SDK.
DEL
/identities/{identity_id}Use blnk.Identity.delete to permanently remove an identity by its ID.
Call the method
const response = await blnk.Identity.delete('idt_3b63c8da-af29-4cc3-ad38-df17d87456e6');
| Field | Type | Description |
|---|---|---|
id | string | Identity ID to delete. |
Confirm the outcome
Check the response message to confirm the identity was removed. Blnk will no longer return this identity on subsequent requests.
Response
{
"message": "Identity deleted successfully"
}
| Field | Type | Description |
|---|---|---|
message | string | Confirmation that the identity was deleted. |