POST apioauth/installationportal/twofactor/validate

Validate a code

Request Information

URI Parameters

None.

Body Parameters

A ValidateTwoFactorCodeRequest

ValidateTwoFactorCodeRequest
NameDescriptionTypeAdditional information
Guid

The guid for the code

string

None.

Code

The code to be validated

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Guid": "sample string 1",
  "Code": "sample string 2"
}

application/xml, text/xml

Sample:
<ValidateTwoFactorCodeRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Guid>sample string 1</Guid>
  <Code>sample string 2</Code>
</ValidateTwoFactorCodeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True if the code is valid

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean>true</boolean>