Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-09-02 08:52:12 +0300
committerMark Fletcher <mark@gitlab.com>2017-09-02 08:52:12 +0300
commit03af5e2e8d9f6ca2c438fd8243ab7f6aa86462c4 (patch)
treeae9945a5df46390ac90c504dfc8383518d300d49 /doc
parent19dfd9e9d6cf8c260dea6a339b1842fc2399729e (diff)
Add to_project_id parameter to Move Issue via API example
Diffstat (limited to 'doc')
-rw-r--r--doc/api/issues.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index f30ed08d0fa..5da715ee1b5 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -558,7 +558,7 @@ POST /projects/:id/issues/:issue_iid/move
| `to_project_id` | integer | yes | The ID of the new project |
```bash
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/4/issues/85/move
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data '{"to_project_id": 5}' https://gitlab.example.com/api/v4/projects/4/issues/85/move
```
Example response: