Add reposetory to group project


I am trying to add a repo to a groep project.
I tried it using the method in:

curl -H “Private-Token: %token%” -X POST

But then it still adds it to my user.
Could someone point me in the right direction?


using the POST method you can not send parameters through the url.

Try this:

curl -H "Private-Token: %token%" -X POST -H "Content-Type: application/json" -d '{"path":"test","namespace_id":"2507989"}'


curl -H “Private-Token: %token%” -X POST -H “Content-Type: application/json” -d @./data.json

1 Like

Thats it! thanks.

i guess i was usting the v3 way to post to a v4 api.