Portal Auth Settings
Update Team Group Mappings
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Allows partial updates to the mappings between Konnect portal teams and Identity Provider (IdP) groups. The request body must be keyed on team ID. For a given team ID, the given group list is a complete replacement. To remove all mappings for a given team, provide an empty group list. Returns a 400 error if an IdP has not yet been configured, or if a team ID in the request body is not found or is not a UUID.
patch/v3/portals/{portalId}/identity-provider/team-group-mappings
Request body
Example request
{
"data": [
{
"team_id": "af91db4c-6e51-403e-a2bf-33d27ae50c0a",
"groups": [
"Service Developer"
]
}
]
}Response
A paginated collection of mappings grouped by team ID.
Example response
{
"meta": {
"page": {
"number": 1,
"size": 10,
"total": 2
}
},
"data": [
{
"team_id": "6801e673-cc10-498a-94cd-4271de07a0d3",
"groups": [
"Tech Leads",
"API Engineers"
]
},
{
"team_id": "7301e673-cc10-498a-94cd-4271de07a0d3",
"groups": [
"Managers",
"Directors"
]
}
]
}