---
title: "Configure Okta settings"
method: PUT
path: "/okta"
tags: ["Okta"]
---

# Configure Okta settings

`PUT /okta`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/okta`
- Auth: API key in header `Authorization`

Configure Okta settings. Returns Okta settings. See get Okta settings for the response details.

## Request body

- object
  - `authorization_code_flow_enabled` boolean, required: Determines whether Okta Authorization code flow is enabled or not. Use an empty string if you intend to disable Okta
  - `client_credentials_flow_enabled` boolean, required: Determines whether Okta Client credentials flow is enabled or not. Use an empty string if you intend to disable Okta
  - `organization_domain` string, required: Okta organization domain. Use an empty string if you intend to disable Okta.
  - `client_id` string: Client ID. This parameter is not required if the purpose of the request is to disable Okta but required if the Okta Authorization Code Flow is enabled.
  - `client_secret` string: Client secret. This parameter is optional if the request aims to disable Okta but required if the Okta Authorization Code Flow is enabled.
  - `authorization_server_id` string: Okta Authorization Server Id. This parameter is not required if the purpose of the request is to disable Okta

## Response `200`

Successful response

- object

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
