The Authenticator Enrollments API provides operations for admins to manage the authenticator enrollments of their users.
An authenticator enrollment is the specific instance of an authenticator that a user has enrolled. For example, if a user enrolls an sms
method with a phone number, they can use both sms
and voice
methods. The Authenticator Enrollments API allows admins to manage both of those user enrollments.
Note: You can currently only enroll Phone authenticators with this API.
Lists all authenticator enrollments of the specified user
Success
Forbidden
Not Found
Too Many Requests
[- {
- "type": "email",
- "id": "eae4za57woixzodEK0g7",
- "key": "okta_email",
- "status": "ACTIVE",
- "name": "Email",
- "profile": {
- "email": "joe@example.com"
}, - "nickname": null,
- "created": "2020-07-26T21:05:23.000Z",
- "lastUpdated": "2020-07-28T21:45:52.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "DELETE"
]
}
}, - "user": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "authenticator": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}, - {
- "type": "password",
- "id": "laeh60xfl7VbebsFr0g6",
- "key": "okta_password",
- "status": "ACTIVE",
- "name": "Password",
- "nickname": null,
- "created": "2020-07-26T21:05:23.000Z",
- "lastUpdated": "2020-07-26T21:05:23.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "DELETE"
]
}
}, - "user": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "authenticator": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}, - {
- "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": {
- "hints": {
- "allow": [
- "GET",
- "DELETE"
]
}
}, - "user": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "authenticator": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
]
Creates a Phone authenticator enrollment that's automatically activated
Success
Bad Request
Forbidden
Too Many Requests
{- "authenticatorId": "aut5l4ttFyGEWdy6V0k7",
- "profile": {
- "phoneNumber": "+14086673418"
}
}
{- "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": {
- "hints": {
- "allow": [
- "GET",
- "DELETE"
]
}
}, - "user": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "authenticator": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
Retrieves a user's authenticator enrollment by enrollmentId
Success
Forbidden
Not Found
Too Many Requests
{- "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": {
- "hints": {
- "allow": [
- "GET",
- "DELETE"
]
}
}, - "user": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "authenticator": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
Deletes an existing enrollment for the specified user. The user can enroll the authenticator again.
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}