summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorAram Visser <hello@aramvisser.com>2018-06-24 13:10:15 +0700
committerAram Visser <hello@aramvisser.com>2018-06-27 18:21:18 +0700
commitc3de6a86734f8756de214cc87ac230820fa33acc (patch)
treee3db898a5a56d6afaf552d82c12e2b3e1d42fafa /doc/api/projects.md
parent2452f1a73e8dcf646311c6069a077ab66be5ce51 (diff)
downloadgitlab-ce-c3de6a86734f8756de214cc87ac230820fa33acc.tar.gz
Add transfer project endpoint to the Projects API
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 30a41839f28..b4599fdc97e 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1390,6 +1390,16 @@ POST /projects/:id/housekeeping
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
+### Transfer a project to a new namespace
+
+```
+PUT /projects/:id/transfer
+```
+
+| Attribute | Type | Required | Description |
+| --------- | ---- | -------- | ----------- |
+| `namespace` | integer/string | yes | The ID or path of the namespace to transfer to project to |
+
## Branches
Read more in the [Branches](branches.md) documentation.