Include 2FA status (enabled/disabled) in user data API response (obtained from Get user status, for instance)

Would it be possible to also include 2FA status in the user data response JSON when querying for user data? Currently the API response is missing this information.

For example,

"user": {

"2fa_status": true,

... (other keys and values)

}

 

We're currently enforcing workspace users to have 2FA turned on and it would be great if we can track if their 2FA is enabled or not via the API (for example, when running Get members of space).


  • Apologies for the delayed response. No, we don't support/send this attribute as of the user data.

    Selected as Best
  • Hey @Dan Tran​ , Can you specify which API endpoint are you using for more understanding of the issue?

  • @Amit Kotagi​, I'm referring to API endpoint that would return user data. In this case, I'm using this endpoint.

    GET /user/status

    Currently the returned result does not include the status of MFA (enabled/disabled). It would be really helpful if included since we can track which organization member has enabled it or not (we're trying to enforce MFA on our users).

    Unless there are already endpoints that would display this that I'm not aware of?

  • Apologies for the delayed response. No, we don't support/send this attribute as of the user data.

    Selected as Best