How to detect "Account setting" users through the API

I have a script connected to the API to list all my users. Until now, my script was doing a special display for admins (vs regular users). For this I was looking at the is_admin flag on users.
But recently we start to have users with the “Account setting” role

Is there a way to identify them through the API?

Hi,
Are you referring to the Get One User and Get Current User endpoints? Both of them have an is_admin flag in the response
https://developers.pipedrive.com/docs/api/v1/Users#getUsers

Could you please share further details in this format ?

Feel free to create a new topic if the issue still persists.