POST api/TwoFactor/UpdateTwoFactorUserVerification

Request Information

URI Parameters

None.

Body Parameters

UpdateTwoFactorUserVerificationRequest
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

IsGsmVerified

boolean

None.

IsTwoFactor

boolean

None.

GsmNumber

string

None.

GsmVerifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "62e47604-a0da-4217-a0fd-0512345ae297",
  "IsGsmVerified": true,
  "IsTwoFactor": true,
  "GsmNumber": "sample string 2",
  "GsmVerifiedDate": "2025-05-23T20:42:02.1703307+03:00"
}

application/xml, text/xml

Sample:
<UpdateTwoFactorUserVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <GsmNumber>sample string 2</GsmNumber>
  <GsmVerifiedDate>2025-05-23T20:42:02.1703307+03:00</GsmVerifiedDate>
  <IsGsmVerified>true</IsGsmVerified>
  <IsTwoFactor>true</IsTwoFactor>
  <UserId>62e47604-a0da-4217-a0fd-0512345ae297</UserId>
</UpdateTwoFactorUserVerificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateTwoFactorUserVerificationResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true
}

application/xml, text/xml

Sample:
<UpdateTwoFactorUserVerificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <Success>true</Success>
</UpdateTwoFactorUserVerificationResponse>