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');
FieldTypeDescription
idstringIdentity 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"
}
FieldTypeDescription
messagestringConfirmation that the identity was deleted.