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?
Are you referring to the Get One User and Get Current User endpoints? Both of them have an is_admin flag in the response
Could you please share further details in this format ?
If you stumble across an issue that you observe with the REST APIs, please make sure you provide the following details:
Describe the issue (if possible, with the scenario, logs, screenshots)
How does it affect your use case?
Which endpoint is causing the issue?
What is the payload structure* ?
What is the mode of authentication (API token / OAuth)*?
What is the response code and error message that you get?
What is the value of the x-correlation-id response header that you received?
Feel free to create a new topic if the issue still persists.