Okta Privileged Access
/- Update an Active Directory account rule
List all Active Directory domains
Retrieve an Active Directory connection
List all Active Directory accounts within a connection
Retrieve an Active Directory account
List credential versions for an Active Directory account
Reveal the password for an Active Directory account
Rotate the password for Active Directory account
List all user access methods for an Active Directory account
List all Active Directory accounts
List all discovered Active Directory accounts
Retrieve a discovered Active Directory account
Retrieve an Active Directory account match
Update an Active Directory account match
Retrieve the Active Directory account rule settings
Configure the Active Directory account rule settings
List all Active Directory account rules
Create an Active Directory account rule
Set the priority of Active Directory account rules
Retrieve an Active Directory account rule
Delete an Active Directory account rule
Retrieve the Active Directory account sync status
List all Active Directory accounts in a resource group
Retrieve an Active Directory account in a resource group
Update an Active Director...
Early Access
OPA roles:
- resource_admin
Updates an Active Directory account rule
Security
bearerAuth
If false, the Active Directory accounts in the organizational unit (OU) targeted by this rule are no longer active Okta users. If true and Okta Active Directory integration is configured, then the accounts can become active Okta users. See Import Active Directory users on demand.
Default:false
If true, the initial password rotation is enabled for discovered Active Directory accounts
Default:true
One list per OU. The index aligns with 'organizational_units'. Each inner list contains field-based filter expressions. If it's omitted or empty, no per-OU conditions are applied.
The list of organizational units to discover individual accounts from
- Production serverhttps://{org_name}.pam.okta.com/v1/teams/{team_name}/resource_assignment/active_directory/{ad_connection_id}/rules/{ad_account_rule_id}
curl -i -X PUT \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/resource_assignment/active_directory/a747a818-a4c4-4446-8a87-704216495a08/rules/a747a818-a4c4-4446-8a87-704216495a08' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"enable_import_okta_users": false,
"enable_initial_password_rotation": true,
"enhanced_filters": [
[
{
"field": "account_name",
"operator": "CONTAINS",
"value": "string"
}
]
],
"name": "string",
"organizational_units": [
"string"
],
"project": {
"id": "string",
"missing": false
},
"resource_group": {
"id": "string",
"missing": false
},
"rule_type": "SHARED"
}'