Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API Examples

Reply

How do I check which group does the user belong to? (via api)

New Member
Posts: 3
1766     0
How do I check which group does the user belong to? (via api)

Re: How do I check which group does the user belong to? (via api)

Moderator
Moderator
Posts: 289
1766     0

Use the "userprofile" object and request the "admin_group" field.

 

For example:

curl -k -u admin:infoblox -X GET 'https://gm.richard.network/wapi/v2.11/userprofile?_return_fields=name,admin_group,email,user_type'

returns:

[
    {
        "_ref": "userprofile/Li51c2VyX3Byb2ZpbGUkMA:admin", 
        "admin_group": "admin-group", 
        "name": "admin", 
        "user_type": "LOCAL"
    }
]

Re: How do I check which group does the user belong to? (via api)

New Member
Posts: 3
1766     0
Why I have to write the password?

Re: How do I check which group does the user belong to? (via api)

[ Edited ]
Moderator
Moderator
Posts: 289
1766     0

You only need to fill the "old_password" and "password" fields if you're changing your own password.  It's not needed to view information.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You