diff options
Diffstat (limited to 'doc/api/labels.md')
-rw-r--r-- | doc/api/labels.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/labels.md b/doc/api/labels.md index 9b640a0203d..21ac8a99965 100644 --- a/doc/api/labels.md +++ b/doc/api/labels.md @@ -193,7 +193,7 @@ Example response: Promotes a project label to a group label. ``` -POST /projects/:id/labels/promote +PUT /projects/:id/labels/promote ``` | Attribute | Type | Required | Description | @@ -202,7 +202,7 @@ POST /projects/:id/labels/promote | `name` | string | yes | The name of the existing label | ```bash -curl --request POST --data "name=documentation" --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/labels/promote" +curl --request PUT --data "name=documentation" --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/labels/promote" ``` Example response: |