Forums

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

Does GET "/members/me/organizations?fields=id" ever NOT return all org ids a user is in?

Matte
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2023

I use this request server-side to validate that a user is in a Trello org that they are asking about. 

 

It seems like sometimes this doesn't return all the organization id records...

Is calling "/members/me?fields=idOrganizations" safer?

1 answer

0 votes
Lam
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2023

Hi @Matt Wilson - Both paths should give you the same information. The `/organizations` endpoint will give you more options to filter the Workspaces and also return the name of the Workspaces: https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-organizations-get

 

I would suggest reaching out in the Developer community in future to get more tailored responses. That forum is dedicated to Developers building on our platform: https://community.developer.atlassian.com/c/trello/42

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events