Skip to content

Replace the Okta application settings

Request

OAuth 2.0 scope:
  • okta.apps.manage

Replaces the settings for an Okta app (also known as an Okta first-party app)

Path
appNamestringrequired

The key name for the Okta app.
Supported apps:

  • Okta Admin Console (admin-console)
Example:admin-console
Bodyapplication/jsonrequired
sessionIdleTimeoutMinutesinteger, [ 5 .. 720 ]

The maximum idle time before the Okta Admin Console session expires. Must be no more than 12 hours.

Default:15
sessionMaxLifetimeMinutesinteger, [ 5 .. 10080 ]

The absolute maximum session lifetime of the Okta Admin Console. Must be no more than 7 days.

Default:720
curl -i -X PUT \
  https://subdomain.okta.com/api/v1/first-party-app-settings/admin-console \
  -H 'Content-Type: application/json' \
  -d '{
    "sessionMaxLifetimeMinutes": 720,
    "sessionIdleTimeoutMinutes": 15
  }'

Responses

Success

Bodyapplication/json
sessionIdleTimeoutMinutesinteger, [ 5 .. 720 ]

The maximum idle time before the Okta Admin Console session expires. Must be no more than 12 hours.

Default:15
sessionMaxLifetimeMinutesinteger, [ 5 .. 10080 ]

The absolute maximum session lifetime of the Okta Admin Console. Must be no more than 7 days.

Default:720
Response
{ "sessionMaxLifetimeMinutes": 720, "sessionIdleTimeoutMinutes": 15 }