API for MFA and Federation

I am new to Atlassian community. I am looking for API from I can find the status of each user who has enabled their MFA or not. Similarly, I am looking for an API which lets me know if the user has registered using the Federation or not?