From c3de6a86734f8756de214cc87ac230820fa33acc Mon Sep 17 00:00:00 2001 From: Aram Visser Date: Sun, 24 Jun 2018 13:10:15 +0700 Subject: Add transfer project endpoint to the Projects API --- doc/api/projects.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/api/projects.md') 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. -- cgit v1.2.1