POST api/Account/TwoFactorEnable?app={app}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| app | string |
Required |
Body Parameters
BAuthTwoFactorEnable| Name | Description | Type | Additional information |
|---|---|---|---|
| ApplicationUserId | string |
None. |
|
| ApplicationUserGuid | string |
None. |
|
| TwoFactorEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApplicationUserId": "sample string 1",
"ApplicationUserGuid": "sample string 2",
"TwoFactorEnabled": true
}
application/xml, text/xml
Sample:
<BAuthTwoFactorEnable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BenefitSoftware.Base.Common"> <ApplicationUserGuid>sample string 2</ApplicationUserGuid> <ApplicationUserId>sample string 1</ApplicationUserId> <TwoFactorEnabled>true</TwoFactorEnabled> </BAuthTwoFactorEnable>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.