---
title: "Create Team Group Mapping"
method: POST
path: "/v3/identity-providers/{idpId}/team-group-mappings"
tags: ["Auth Settings"]
---

# Create Team Group Mapping

`POST /v3/identity-providers/{idpId}/team-group-mappings`

Creates a new team group mapping for the specified identity provider.
A mapping associates an identity provider group with a Konnect team.

## Request body

- object
  - `team_id` string, uuid, required — The Konnect team ID to associate with the identity provider group.
  - `group` string, required — The identity provider group name. Group names are case sensitive.

## Response `201`

A single team group mapping.

- IdpTeamGroupMapping — A mapping between a Konnect team and an identity provider group.
  - `id` string, uuid, required — Contains a unique identifier used for this resource.
  - `team_id` string, uuid, required — The Konnect team ID.
  - `group` string, required — The identity provider group name. Group names are case sensitive.
  - `created_at` string, date-time, required — An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required — An ISO-8601 timestamp representation of entity update date.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Permission denied
- `404` — Not Found
- `409` — Conflict

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/versions/f920f418f552/schema)
