I created a Team called "Agile dev" under sandbox305, and I tried to get the team and team members through Teams API(include orgId and teamId).
It failed with 403 as screenshot, do you know why?
Even we add the cloudId of sandbox305 to the endpoint url, it also return the same error.
Hi @Rachel Zheng
Welcome to the Community !
I've seen that API tends to fail or never works - not sure why as didn't got much of time to research for; but you can refer this article wherein myself and @Trudy Claspill mentioned about the API that can be used.
Method: GET (Without using api.atlassian url)
API: https://<site>.atlassian.net/gateway/api/public/teams/v1/org/<Org ID>teams
Authentication: Basic Auth: Email and API TOKEN (not the organisation api token)
Thanks @Piyush Annadate _ACE Pune_
I tried
It returned some teams less than 300, but within these teams I didn't get the team I created on this site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.