Okta Identity Governance
/Principal Settings
Okta Identity Governance API
Campaigns
Reviews
Entitlements
Entitlement Bundles
Grants
Principal Entitlements
Principal Access
Principal Access - V2
Collections
Collections - V2
Risk Rules
Resource Owners
Labels
Delegates
Security Access Reviews
Org Governance Settings
Entitlement Settings
Operations
Beta
OAuth 2.0 scope:
- okta.governance.principalSettings.manage
Admin roles:
- SUPER_ADMIN
- ACCESS_CERTIFICATION_ADMIN
- ACCESS_REQUESTS_ADMIN
Updates the settings for a principal
Note: To update the principal settings, you must be assigned to either the SUPER_ADMIN role or both the ACCESS_CERTIFICATION_ADMIN and the ACCESS_REQUESTS_ADMIN roles.
Unique identifier for the target principal in Okta ID format or ORN format
- https://subdomain.okta.comhttps://subdomain.okta.com/governance/api/v1/principal-settings/{targetPrincipalId}
curl -i -X PATCH \
'https://subdomain.okta.com/governance/api/v1/principal-settings/{targetPrincipalId}' \
-H 'Content-Type: application/json' \
-d '{
"delegates": {
"appointments": [
{
"delegate": {
"type": "OKTA_USER",
"externalId": "00u2lxfQaw8WRlkQt0g4"
},
"note": "Johnny Appleseed is on parental leave"
}
]
}
}'