Skip to content

Retrieve settings for a team

Request

OPA roles:
  • resource_admin
  • end_user

Retrieves team-level settings for your team

Security
bearerAuth
Path
team_namestringrequired

The name of your team

curl -i -X GET \
  'https://{org_name}.pam.okta.com/v1/teams/{team_name}/settings' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
approve_device_without_interactionboolean or null

If true, devices are automatically approved for authenticated users

client_session_durationinteger or null, (int32), [ 3600 .. 90000 ]

The maximum time before a client session expires. The duration can be from 3600 – 90000 seconds.

post_device_enrollment_urlstring or null, <= 8096 characters

If specified, redirects a user to the URL after they enroll a device

post_login_urlstring or null, <= 8096 characters

If specified, redirects a user to the URL after they authenticate through the IdP

post_logout_urlstring or null, <= 8096 characters

If specified, redirects a user to the URL after they sign out

reactivate_users_via_idpboolean or null

If true, previously deleted or disabled users are re-enabled if they authenticate through the IdP

teamstring, [ 1 .. 255 ] charactersread-onlyrequired

The name of the team

Example:"Your_OPA_Team"
web_session_durationinteger or null, (int32), [ 1800 .. 90000 ]

The maximum time before a web session expires. The duration can be from 1800 – 90000 seconds.

user_provisioning_exact_usernameboolean or nulldeprecated

DEPRECATED. This setting has no effect.

Response
{ "approve_device_without_interaction": false, "client_session_duration": 36000, "post_device_enrollment_url": null, "post_login_url": null, "post_logout_url": null, "reactivate_users_via_idp": false, "team": "Your_OPA_Team", "user_provisioning_exact_username": null, "web_session_duration": 36000 }