Public
Begin email enrollment during a forced-2FA login.
Call this when POST /api/v1/tokens returned two_factor_enrollment_required and the user chooses email. Post the enrollment token from that response:
{ "enrollment_token": "eyJ..." }
A verification code is emailed to the user and a challenge is returned:
{
"challenge_token": "eyJ...",
"mechanism": "Email",
"masked_destination": "b***@outseta.com",
"expires_in": 600
}
Confirm the code via POST /api/v1/tokens/two-factor/enroll/email/confirm. Returns 401 if the enrollment token is invalid/expired and 403 if forced enrollment does not apply to this user. Rate limited to 5 requests per minute (429).
post/api/v1/tokens/two-factor/enroll/email/begin
Request
- Base URL: https://go.outseta.com
- URL: https://go.outseta.com/api/v1/tokens/two-factor/enroll/email/begin
- Auth: none declared
Query parameters
dataunknown required
Response
A code was emailed; the enrollment-test challenge is returned.
Example response
{
"two_factor_required": false,
"two_factor_enrollment_required": false,
"challenge_token": "string",
"mechanism": "string",
"masked_destination": "string",
"expires_in": 0,
"available_mechanisms": [
"string"
],
"recovery_codes_available": false
}Changes
No recorded changes to this operation across all 1 revision of this API.