---
title: "Set Okta Group Sync"
method: POST
path: "/api/set_okta_group_sync"
tags: ["Admin"]
---

# Set Okta Group Sync

`POST /api/set_okta_group_sync`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/set_okta_group_sync`
- Auth: one of:
  - API key in header `X-API-KEY`
  - API key in cookie `Authorization`
  - OAuth 2 (password, token URL `/api/auth/token`)

Turn Okta group mirroring on or off for the org.

Deliberately a single flag: Okta group names are used verbatim as Dot group
names, so there is nothing to map. Which groups reach Dot is controlled in
Okta, by the groups claim filter on the Dot app.

## Request body

- BodySetOktaGroupSyncApiSetOktaGroupSyncPost
  - `value` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
