I was trying to get all users using /directory_items endpoint but what I figured out is that I can’t get it when I provide api-key with ‘read’ permissions.
The strangest thing is that I can get it without any api-key provided at all, so it looks like a bug for me.