Hide API users in lists, reports and auto-fill

I have to create users for API access. These users show up in lists, reports, and autofill. Is there a way to hide these users in such scenarios?

try server script , query permission condition to exclude the user.

1 Like

In this approach, I should be careful with frappe.db and query builder queries, right?