Skip to main content
PUT
Save the Okta SSO configuration

Authorizations

session
string
cookie
required

The session cookie set when you sign in to AgentHub or ModelHub in a browser. The cookie name shown here is illustrative. There are no API tokens for these endpoints.

Path Parameters

orgId
string<uuid>
required

Organization id.

Body

application/json
okta_domain
string
required

Your Okta domain, for example yourcompany.okta.com.

client_id
string
required
client_secret
string

Required when no configuration exists yet.

default_role
enum<string>
default:member

Role for users whose Okta groups match no mapping.

Available options:
admin,
member,
viewer
group_role_mapping
object

Okta group name to role.

enforced
boolean
default:false

When true, members must sign in through Okta.

Response

Saved.

data
object
required