Commit 03af5e2e authored by Mark Fletcher's avatar Mark Fletcher

Add to_project_id parameter to Move Issue via API example

parent 19dfd9e9
---
title: Add to_project_id parameter to Move Issue via API example
merge_request:
author:
type: fixed
...@@ -558,7 +558,7 @@ POST /projects/:id/issues/:issue_iid/move ...@@ -558,7 +558,7 @@ POST /projects/:id/issues/:issue_iid/move
| `to_project_id` | integer | yes | The ID of the new project | | `to_project_id` | integer | yes | The ID of the new project |
```bash ```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: Example response:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment