How to get number of _active_ workspace members via REST API

Assume a BB Cloud workspace uses Atlassian Access for user management. In Atlassian Access there are ‘active’ users and ‘deactivated’ users.

How does an app (or any REST API client) get a count or list of active (in the Atlassian Access sense) workspace members?

It looks like the ‘List users in a workspace’ or List user permissions in a workspace REST API endpoints returns all active and deactivated (in the Atlassian Access sense) workspace members. The returned list objects don’t seem to have a property that indicates the activation status of the user.
There used to be a concept of a ‘collaborator’ role for users, but that’s deprecated.

The goal is to be able to count active users the same way the ‘Users on Plan’ page does.

1 Like