summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-11-13 13:58:24 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-11-13 13:58:24 +0100
commit6173d4639a388f59872291657a2528256c90a846 (patch)
treed1f7695c23dde73be2873a6c129757308d97609b
parent22aa5c5594745fe0ea92716f12b4a001b934f5f1 (diff)
downloadgitlab-ce-6173d4639a388f59872291657a2528256c90a846.tar.gz
Move pipeline delete docs to end
-rw-r--r--doc/api/pipelines.md34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/api/pipelines.md b/doc/api/pipelines.md
index c91875fd2db..7b4c9a8fbb3 100644
--- a/doc/api/pipelines.md
+++ b/doc/api/pipelines.md
@@ -93,23 +93,6 @@ Example of response
}
```
-## Delete a pipeline
-
-> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22988) in GitLab 11.6
-
-```
-DELETE /projects/:id/pipelines/:pipeline_id
-```
-
-| Attribute | Type | Required | Description |
-|------------|---------|----------|---------------------|
-| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
-| `pipeline_id` | integer | yes | The ID of a pipeline |
-
-```
-curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --request "DELETE" "https://gitlab.example.com/api/v4/projects/1/pipelines/46"
-```
-
## Create a new pipeline
> [Introduced][ce-7209] in GitLab 8.14
@@ -252,5 +235,22 @@ Response:
}
```
+## Delete a pipeline
+
+> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22988) in GitLab 11.6.
+
+```
+DELETE /projects/:id/pipelines/:pipeline_id
+```
+
+| Attribute | Type | Required | Description |
+|------------|---------|----------|---------------------|
+| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
+| `pipeline_id` | integer | yes | The ID of a pipeline |
+
+```
+curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --request "DELETE" "https://gitlab.example.com/api/v4/projects/1/pipelines/46"
+```
+
[ce-5837]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5837
[ce-7209]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7209