summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-09-04 09:06:20 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2017-09-04 09:06:20 +0000
commitd8633bd14a949b627a7653ed451af5e1ef613e19 (patch)
treea3d9a4ea36d1fc656aac3058b918c59e6ed6a8ad /doc
parentb378ae6850e7c72ef97d62e477f51c0b0c5c0544 (diff)
parent03af5e2e8d9f6ca2c438fd8243ab7f6aa86462c4 (diff)
downloadgitlab-ce-d8633bd14a949b627a7653ed451af5e1ef613e19.tar.gz
Merge branch 'docs-fix-15669-issue-move-api' into 'master'
Add to_project_id parameter to Move Issue via API example Closes #15669 See merge request !14008
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 14635114a31..765246142c1 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -594,7 +594,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: