Profile Management
Workflow Overview

1- Verify Email address
The operation consists of calling the same endpoint twice:
post
Body
emailstringRequired
emailOtpstring · nullableOptional
emailOtpRequestIdstring · nullableOptional
transactionIdstring · uuidOptional
returnUrlstring · nullableOptional
Responses
200
Success
post
/api/DigitalIdentity/VerifyEmail200
Success
2- Reset Password Workflow
1. If the user has an email
post
Body
emailOrPhoneNumberstringRequired
idNumberstring · nullableOptional
Responses
200
Success
post
/api/DigitalIdentity/ForgetPassword/SendEmailOtp200
Success
post
Body
emailOrPhoneNumberstringRequired
idNumberstring · nullableOptional
emailOtpRequestIdstringRequired
emailOtpstringRequired
Responses
200
Success
post
/api/DigitalIdentity/ForgetPassword/ValidateEmailOtp200
Success
post
Body
emailOrPhoneNumberstringRequired
idNumberstring · nullableOptional
phoneNumberOtpRequestIdstringRequired
phoneNumberOtpstringRequired
Responses
200
Success
post
/api/DigitalIdentity/ForgetPassword/ValidatePhoneOtp200
Success
post
Body
userIdinteger · int64Optional
resetCodestring · nullableOptional
passwordstring · nullableOptional
returnUrlstring · nullableOptional
singleSignInstring · nullableOptional
cstring · nullableOptional
Responses
200
Success
post
/api/DigitalIdentity/ForgetPassword/Reset200
Success
2. If the user does not have an email
post
Body
phoneNumberstringRequired
idNumberstring · nullableOptional
Responses
200
Success
post
/api/DigitalIdentity/ForgetPasswordByPhone/SendPhoneOtp200
Success
post
Body
phoneNumberstringRequired
idNumberstring · nullableOptional
phoneNumberOtpRequestIdstringRequired
phoneNumberOtpstringRequired
Responses
200
Success
post
/api/DigitalIdentity/ForgetPasswordByPhone/ValidatePhoneOtp200
Success
3- Update user's email
post
Body
emailstring · emailRequired
Responses
200
Success
post
/api/DigitalIdentity/UpdateEmailRequest200
Success
post
Body
emailOtpRequestIdstringRequired
emailOtpstringRequired
Responses
200
Success
post
/api/DigitalIdentity/ValidateUpdateEmailRequestOtp200
Success
4- Update user's phone number
post
Body
phoneNumberstringRequired
passwordstringRequired
Responses
200
Success
post
/api/DigitalIdentity/UpdatePhone/SendPhoneOtp200
Success
post
Body
phoneNumberstringRequired
passwordstringRequired
imagestringRequired
Responses
200
Success
post
/api/DigitalIdentity/UpdatePhone/ReValidateLiveness200
Success
post
Body
phoneNumberOtpRequestIdstringRequired
phoneNumberOtpstringRequired
Responses
200
Success
post
/api/DigitalIdentity/UpdatePhone/ValidatePhoneOtp200
Success
Last updated