diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-12 11:44:51 +0900 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2019-07-12 11:44:51 +0900 |
commit | cc748d5b9596053834b358ded4e113bbc747c21d (patch) | |
tree | 500029136e4d43307a24b964a07bc33ab17d5d63 /doc/api/merge_requests.md | |
parent | e105232ccf4fd88d5beb64d91a5bd0171c1796c6 (diff) | |
download | gitlab-ce-docs-code-block-fences.tar.gz |
Add blank lines around code blocksdocs-code-block-fences
All code blocks should be surrounded by blank lines
Diffstat (limited to 'doc/api/merge_requests.md')
-rw-r--r-- | doc/api/merge_requests.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index de87e4a0aee..662a4b3e424 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -1331,9 +1331,11 @@ If you don't have permissions to accept this merge request - you'll get a `401` If the merge request is already merged or closed - you get `405` and error message 'Method Not Allowed' In case the merge request is not set to be merged when the pipeline succeeds, you'll also get a `406` error. + ``` PUT /projects/:id/merge_requests/:merge_request_iid/cancel_merge_when_pipeline_succeeds ``` + Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |