Okta Privileged Access
//
Update settings for a tea...
OPA roles:
- resource_admin
Updates team-level settings for your team. Partial updates are permitted. To disable a setting, set the value to null.
Security
bearerAuth
If true, devices are automatically approved for authenticated users
The maximum time before a client session expires. The duration can be from 3600 – 90000 seconds.
If specified, redirects a user to the URL after they enroll a device
If specified, redirects a user to the URL after they authenticate through the IdP
If specified, redirects a user to the URL after they sign out
If true, previously deleted or disabled users are re-enabled if they authenticate through the IdP
The maximum time before a web session expires. The duration can be from 1800 – 90000 seconds.
- Production serverhttps://{org_name}.pam.okta.com/v1/teams/{team_name}/settings
curl -i -X PUT \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/settings' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"approve_device_without_interaction": false,
"client_session_duration": 3600,
"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": 1800
}'