Thanks.

So, the answer when using the first flavor is:
a) getting the project(s) id with 
curl --request GET --header "PRIVATE-TOKEN: xxxxxxxxxxx" 
"https://gitlab.com/api/v3/projects"; | json_pp
b) changing the visibility level to private for one of the projects with:
curl --request PUT --header "PRIVATE-TOKEN: xxxxxxxxxxx" 
"https://gitlab.com/api/v3/projects/${project_id}?visibility_level=0"; | 
json_pp
c) modifying the project repository
d) changing the visibility level back to public for one of the projects 
with:
curl --request PUT --header "PRIVATE-TOKEN: xxxxxxxxxxx" 
"https://gitlab.com/api/v3/projects/${project_id}?visibility_level=20"; | 
json_pp

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/4aee37a3-7ce2-4901-a71c-2050641a64b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to