Validate OTP
1 min
POST
{{url}}/aioc-rest-web/rest/tfa/otpValid
urlstring
Content-Typestring
X-XSRF-TOKENstring
usernamestring
tokenstring
ignoreUsedBeforestringthis field allows a token to be used multiple times in validity time period. The field takes "true" or "false" values
200Validate OTP
curl --request POST \
--url {{url}}/aioc-rest-web/rest/tfa/otpValid \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--header 'x-xsrf-token: {{csrftoken}}' \
--form 'username="{{TestUserName}}"' \
--form 'token="183942"' \
--form 'ignoreUsedBefore="true"'