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: 

Add user in Repository Using REST API

Rahul Jakhmola
November 8, 2020

Hi Experts- I need to add user in given Repository using API. Can anyone help me where I can find API to achieve this task. Thanks!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Leo
Community Champion
November 8, 2020

Hi @Rahul Jakhmola

Below API call would help you to add user to a repository

/REST/API/1.0/PROJECTS/{PROJECTKEY}/REPOS/{REPOSITORYSLUG}/PERMISSIONS/USERS?NAME&PERMISSION

You can refer THIS article for more details

 

BR,

Leo

Rahul Jakhmola
November 8, 2020

Thanks Leo for the help :)

TAGS
AUG Leaders

Atlassian Community Events