POST account/2fa/configuration

Two factor configuration asynchronous.

Request Information

URI

https://ofd-api.blueprintcpq.net/account/2fa/configuration

URI Parameters

None.

Body Parameters

The configuration.

TwoFactorStatus
NameDescriptionTypeAdditional information
Enabled

boolean

None.

EnableAuthenticator

boolean

None.

EnableEmail

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Enabled": true,
  "EnableAuthenticator": true,
  "EnableEmail": true
}

text/html

Sample:
{"Enabled":true,"EnableAuthenticator":true,"EnableEmail":true}

application/xml, text/xml

Sample:
<TwoFactorStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.Authentication.TwoFactor">
  <EnableAuthenticator>true</EnableAuthenticator>
  <EnableEmail>true</EnableEmail>
  <Enabled>true</Enabled>
</TwoFactorStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A Task<TwoFactorStatus>

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.