Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Request Workspace MFA status though API

José Antonio Garcel Díaz February 21, 2023

Hello, we are using Bitbucket Cloud and I'm needing to perform a check against the REST API to verify if the MFA is being enforced for members.

I supposed that the workspace detail endpoint would give me such info, but it didn't...

 

Any tips about this? Thanks!

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2023

G'day, @José Antonio Garcel Díaz 

We don't have an API endpoint to check whether a user has their 2SV enabled.

However, you can get an export of the user list on your workspace that has this information by going to your workspace settings > User directory > Export on the top right.

This will export the list of users in your workspace, including the data if they have 2SV enabled or not.

For more information, please check our documentation at:

Export users 

Cheers,
Syahrul

José Antonio Garcel Díaz February 24, 2023

Hello @Syahrulhanks for the reply :)

 

We'll consider the workaround you just provided.

 

Also, we just posted other question related to the API. Would you be able to guide us a bit please? Thank you.

 

https://community.atlassian.com/t5/Bitbucket-questions/Recover-the-Default-Group-for-the-workspace/qaq-p/2280948#M90743

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events