Get group role mappings
GET
/groups/{groupName}/roles
const url = 'https://shoehorn.example.com/api/v1/groups/example/roles';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/groups/example/rolesReturns roles assigned to a specific IdP group.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” groupName
required
string
Responses
Section titled “ Responses ”Roles mapped to this group
Media type application/json
object
roles
Array<string>
Example generated
{ "roles": [ "example" ]}