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
PATCH
- Admin-appointed delegate
- No delegate appointment
curl -i -X PATCH \
'https://okta-subdomain.pixtulate.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"
}
]
}
}'