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

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 :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events