Skip to content

Assign role to group

POST
/groups/{groupName}/roles
curl --request POST \
--url https://shoehorn.example.com/api/v1/groups/example/roles \
--header 'Content-Type: application/json' \
--data '{ "role": "example" }'

Maps a role to an IdP group. All users in the group receive this role.

groupName
required
string
Media type application/json
object
role
required
string
Example generated
{
"role": "example"
}

Role assigned to group