summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-06-29 13:50:02 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-06-29 13:50:02 +0000
commitf316cb9b9a5d0d13d54ef0bb94845310ff640aae (patch)
tree054ec2caa0f6db9fdd1058ce697aa5a499e61c38 /doc/api
parentcf55dd8b402dc400955039e5617cf701ef1c9930 (diff)
parentc3de6a86734f8756de214cc87ac230820fa33acc (diff)
downloadgitlab-ce-f316cb9b9a5d0d13d54ef0bb94845310ff640aae.tar.gz
Merge branch 'transfer_project_api_endpoint' into 'master'
Add transfer project endpoint to the Projects API Closes #45146 See merge request gitlab-org/gitlab-ce!20122
Diffstat (limited to 'doc/api')
-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.