2

I have many project in my Gitlab and I want to add a group to all of my project.

I'm looking for a curl command to invite a group to my Gitlab project.

for example maintainer privileges

Mohammad Ravanbakhsh
  • 2,244
  • 1
  • 15
  • 26

1 Answers1

2
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.com/api/v4/groups/:id/projects/:project_id"

Please refer Gitlab docs for more details

https://docs.gitlab.com/ee/api/groups.html

Mohammad Ravanbakhsh
  • 2,244
  • 1
  • 15
  • 26
Sandeep Patel
  • 4,815
  • 3
  • 21
  • 37