---
title: "Update SSO group mapping for role"
method: PUT
path: "/v1/roles/{roleId}/ssoMapping"
tags: ["Roles"]
---

# Update SSO group mapping for role

`PUT /v1/roles/{roleId}/ssoMapping`

## Request

- Base URL: `https://api.tetrascience.com`
- URL: `https://api.tetrascience.com/v1/roles/{roleId}/ssoMapping`
- Auth: API key in header `ts-auth-token` and API key in header `x-org-slug`

## Parameters

- `#/paths/~1v1~1roles~1{roleId}/get/parameters/0` (unresolved $ref)

## Request body

- object
  - `ssoGroupMappings` string[]

## Response `200`

Responding with updated role

- Schema (unresolved $ref)

## Other responses

- `401`: Invalid token
- `403`: Caller is not authorized to perform this action
- `404`: Role not found

---

[API](https://skmtc.dev/tetrascience/apis/administration.md) - [All operations](https://skmtc.dev/tetrascience/apis/administration/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrascience/apis/administration/revisions/c1c829febcc5?raw)
