get__mfa_status
TypeScript Client Library
// Note: This endpoint doesn't have a direct client method in the provided TypeScript client
// You would need to use the generic makeRequest method:
// this.makeRequest<any>('mfa/status', 'GET', null);Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/mfa/status \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/mfa/status HTTP/1.1
Host: localhost:3000
Accept: application/json
Authorization: Bearer {access-token}const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/mfa/status',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});{
"success": true,
"data": {
"isEnabled": true,
"isRequired": false,
"isEnforced": false,
"enabledMethods": ["GOOGLE_AUTH", "PASSKEY"],
"primaryMethod": "GOOGLE_AUTH"
}
}Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Parameter
Value
Description
Last updated
Was this helpful?