List IdP groups
GET
/groups
const url = 'https://shoehorn.example.com/api/v1/groups';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://shoehorn.example.com/api/v1/groupsReturns all identity provider groups known to the system.
Responses
Section titled “ Responses ”IdP groups
Media type application/json
object
groups
Array<object>
object
name
string
provider
string
member_count
integer
roles
Array<string>
Example
{ "groups": [ { "provider": "zitadel" } ]}