BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ea109704
Commit
ea109704
authored
May 19, 2014
by
Job van der Voort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
everything in header
parent
23665d25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
deploy_key_multiple_projects.md
doc/api/deploy_key_multiple_projects.md
+4
-3
No files found.
doc/api/deploy_key_multiple_projects.md
View file @
ea109704
...
...
@@ -5,15 +5,16 @@ If you want to easily add the same deploy key to multiple projects in the same g
First, find the ID of the projects you're interested in, by either listing all projects:
```
curl
https://gitlab.com/api/v3/projects?private_token=abcdef
curl
--header 'PRIVATE-TOKEN: abcdef' https://gitlab.com/api/v3/projects
```
Or finding the id of a group and then listing all projects in that group:
```
curl
https://gitlab.com/api/v3/groups?private_token=abcdef
curl
--header 'PRIVATE-TOKEN: abcdef' https://gitlab.com/api/v3/groups
curl https://gitlab.com/api/v3/groups/1234?private_token=abcdef # where the id of the group is 1234
# For group 1234:
curl --header 'PRIVATE-TOKEN: abcdef' https://gitlab.com/api/v3/groups/1234
```
With those IDs, add the same deploy key to all:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment