Delete all anonymous leads + their conversations (admin)
DELETE/api/contacts/leads
Irreversibly deletes every anonymous lead — an auto-created chat lead (type=lead) that was never saved to the Contacts list and has no end-user account — together with all of their conversations, messages and attachment files. Saved contacts and registered members are never touched. Admin only.
Responses
- 200
- 401
- 403
How many contacts + conversations were deleted.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.