---
title: "Update Mapping"
method: PUT
path: "/sso-group-mappings/mappings/{mapping_id}"
tags: ["SSO Group Mappings"]
---

# Update Mapping

`PUT /sso-group-mappings/mappings/{mapping_id}`

Update an existing SSO group mapping.

## Path parameters

- `mapping_id` integer, required

## Request body

- SSOGroupMappingUpdate
  - `external_group_identifier` string, nullable
  - `match_type` 'exact' | 'prefix' | 'contains' | 'suffix', nullable
  - `target_id` integer, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- SSOGroupMappingResponse
  - `id` integer, required
  - `uuid` string, uuid, required
  - `external_group_identifier` string, required
  - `match_type` string, required
  - `mapping_type` string, required
  - `target_id` integer, required
  - `target_name` string, nullable
  - `is_active` boolean, required
  - `created_by_email` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/50769cbf05d5/schema)
