MyAccount Management
//
Update an enrollment
Identity Engine
OAuth 2.0 scope:
- okta.myAccount.authenticators.manage
Updates an authenticator enrollment by enrollmentId. The following update operations are allowed:
- Update the enrollment nickname
- Remove the enrollment nickname
PATCH
- Update authenticator enrollment nickname
- Remove authenticator enrollment nickname
curl -i -X PATCH \
https://okta-subdomain.pixtulate.com/idp/myaccount/authenticators/aut9gnvcjUHIWb37J0g4/enrollments/ufs2bysphxKODSZKWVCT \
-H 'Accept: application/json; okta-version=1.0.0' \
-H 'Content-Type: application/merge-patch+json;okta-version=1.0.0' \
-d '{
"nickname": "Bob'\''s Phone"
}'OK
Whether the user has permission to perform a password change operation as determined by their password policy
Whether the user has permission to perform a password reset operation, as determined by their password policy and password source. If canResetPassword is false, the modify object isn't returned in the _links object.
The fields specific to an authenticator enrollment that may not be common across all authenticators
Response
{ "canChangePassword": true, "canReset": true, "canResetPassword": true, "canUnenroll": true, "created": "string", "id": "string", "lastChallenged": "string", "name": "string", "nickname": "string", "profile": {}, "_links": { "self": { … }, "authenticator": { … }, "modify": { … }, "unenroll": { … } } }