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 & Integration, DevOps,NetOps,SecOps

Reply

admingroup&_return_fields

New Member
Posts: 4
1284     0

A call to get the fields for admingroup returns an error 400 "Bad Request" even though the documentation says it is supported on the WAPI Documentation.  The call works without the &_return_fields but it only returns name
https://{{grid_master}}/wapi/v2.11.3/admingroup&_return_fields

 

WAPI DOC

https://{{grid_master}}/wapidoc/objects/admingroup.html?highlight=admingroup#fields

 

Is anybody else have the same issue?

Re: admingroup&_return_fields

Moderator
Moderator
Posts: 287
1285     0

You will need to specify which fields you want to return.  Like this;

 

https://192.168.1.2/wapi/v2.11.3/admingroup?_return_fields%2b=access_method,comment,email_addresses

 

If you need a list of available fields, you can request the schema for the admingroup object;

 

https://192.168.1.2/wapi/v2.11.3/admingroup?_schema

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You