---
title: "Create an SSO team mapping"
method: POST
path: "/api/v1/sso/team-mappings"
tags: ["sso"]
---

# Create an SSO team mapping

`POST /api/v1/sso/team-mappings`

Create a new SSO group to team mapping

## Request body

- CreateSSOMappingRequest
  - `member_role` string
  - `provider` string
  - `sso_group_name` string
  - `team_id` string

## Response `201`

Created

- SSOTeamMapping
  - `created_at` string
  - `id` string
  - `member_role` string
  - `provider` string
  - `sso_group_name` string
  - `team_id` string
  - `updated_at` string

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

## Changes

> 56 revisions in range; 1 not diffed.

- **2026-08-24** `0bd802afff21` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/api/v1/sso/team-mappings/post.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marmotdata/marmot-api/revisions/0bd802afff21/schema)
