The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is this possible to use REST API to get all account sync from Google Workspace?

Hong Quyen
September 27, 2022

My problem is I can't find any REST API docs to get only user account which is sync from our Google workspace. 

Is it possible to do it? Or it just can get all users in an organization. 

Thanks all!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Dave Meyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 28, 2022

Hi @Hong Quyen ,

The "Get users in an organization" endpoint should return all managed accounts in an organization. For an org where you're syncing with a Google workspace, this should return all your synced users. https://developer.atlassian.com/cloud/admin/organization/rest/api-group-orgs/#api-orgs-orgid-users-get

Hong Quyen
September 28, 2022

Hi, 

Thanks for your response. 

I understand the "Get users in an organization" will return all managed accounts. But if my organization have synced users from multiple Identity Providers, the API will return all accounts from other IdPs too not only Google workspace users. Is it correct?

Have a good day!

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events