Okta Admin Management API
/Users
/- Create an auto-activated Phone authenticator enrollment
User Authenticator Enrollments
List all authenticator enrollments
Create an auto-activated TAC authenticator enrollment
Retrieve an authenticator enrollment
Delete an authenticator enrollment
Create an auto-activated...
Identity Engine
OAuth 2.0 scope:
- okta.users.manage
Creates a Phone authenticator enrollment that's automatically activated
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/authenticator-enrollments/phone
curl -i -X POST \
https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/authenticator-enrollments/phone \
-H 'Content-Type: application/json' \
-d '{
"authenticatorId": "aut5l4ttFyGEWdy6V0k7",
"profile": {
"phoneNumber": "+14086673418"
}
}'Success
The type of authenticator
Enum:"app""email""federated""password""phone""security_key""security_question""tac""proximity"
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "type": "phone", "id": "sms8evhwh0Ne35iPR0g7", "key": "phone_number", "status": "ACTIVE", "name": "Phone", "created": "2020-07-26T21:05:23.000Z", "lastUpdated": "2020-07-29T00:21:29.000Z", "profile": { "phoneNumber": "+1 XXX-XXX-6065" }, "nickname": "Joe's Work Phone", "_links": { "self": { … }, "user": { … }, "authenticator": { … } } }