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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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