POST account/2fa/email/validate

Two factor email validate.

Request Information

URI

https://eurotherm-web-api.xaitcpq.net/account/2fa/email/validate

URI Parameters

None.

Body Parameters

The otp.

ValidateCode
NameDescriptionTypeAdditional information
Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1"
}

text/html

Sample:
{"Code":"sample string 1"}

application/xml, text/xml

Sample:
<ValidateCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.Authentication.TwoFactor">
  <Code>sample string 1</Code>
</ValidateCode>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A Task<bool>

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>