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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,402
Community Members
 
Community Events
176
Community Groups

Viewing inactive users with Bitbucket Cloud API

Is there a way to view inactive users (or date of last activity) with the API? If so, which endpoint could be used?

I see there is a user endpoint, but I need something that will display more information to help us manage user accounts.

2 answers

2 accepted

0 votes
Answer accepted
Pramodh M Community Leader Jan 25, 2022

Hi @caleb.hoffman 

Welcome to the Community!!

This seems like a no-go here.

The API's available won't serve much data with reference to what you asking since I have gone through the API's below

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-users/#api-group-users

It only Gets the public information!! which is not what we want.

So basically until Atlassian officially releases something with managed accounts structure it's not possible

Thanks,
Pramodh

Mikael Sandberg Community Leader Jan 26, 2022

The user object will show if the account is active, inactive, or closed. This is a new attribute that was just added to the user object, see the announcement here.

Like caleb.hoffman likes this
0 votes
Answer accepted
Mikael Sandberg Community Leader Jan 25, 2022

Hi @caleb.hoffman,

Welcome to Atlassian Community!

The user endpoint is the closest you can get, and is should return a list of attributes about the user that you can find here. The API for the user is changing in order to improve user privacy. Most of the user end points are moving to Cloud admin end points.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events