POST apioauth/installationportal/twofactor/validate
Validate a code
Request Information
URI Parameters
None.
Body Parameters
A ValidateTwoFactorCodeRequest
ValidateTwoFactorCodeRequestName | Description | Type | Additional 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
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>