Forums

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

Regarding permissions for users added to a team via API

yuki.shikano
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!
October 21, 2024

 

I am trying to add members to a team using the following API: https://developer.atlassian.com/platform/teams/rest/v1/api-group-teams-members-public-api/#api-gateway-api-public-teams-v1-org-orgid-teams-teamid-members-add-post

In this case, I would like the member's authority to be Admin, not user. Is this possible to specify in the parameters?

 

3 answers

2 accepted

1 vote
Answer accepted
Tuncay Senturk
Community Champion
October 22, 2024

Hi @yuki.shikano 

Welcome to the Community!

The API does not seem to explicitly provide a parameter to set the member's authority (role) as "Admin" in the request body. They are assigned a default role (usually "User"), and I wouldn't expect to assign a user with a default admin role.

0 votes
Answer accepted
VELEZ ALACID, CARLOS
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!
February 13, 2025

Hello.

How have you been able to add members to a team via API? I can view and delete members from a team, but when I try to add a member to a team I get the error "ADD_MEMBER_FAILED"

Thanks.

Agregar miembro a equipo por API error2.png

0 votes
yuki.shikano
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!
October 22, 2024

Hi Tuncay Senturk

Thank you for checking.
I understand.
So I have to explicitly do it from the settings screen.

Sunny T Kavatekar
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!
December 30, 2024

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events