diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-12-07 12:53:50 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-12-07 12:53:50 +0000 |
commit | 28c983db2353d7428f44dad2f8495e1028e360d1 (patch) | |
tree | 8b558c894f2e7f7efd85db37e6a9392d04ba0c95 /doc | |
parent | 0054e1567b87795cc907232a4c1e9388be5c11a5 (diff) | |
parent | 1d47ae1365e259406233764885891923bebc555c (diff) | |
download | gitlab-ce-28c983db2353d7428f44dad2f8495e1028e360d1.tar.gz |
Merge branch 'jej/per-user-protected-branches-api-ce' into 'master'
CE backport of "ProtectedBranches API handles per user/group granularity"
See merge request gitlab-org/gitlab-ce!15747
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/protected_branches.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/protected_branches.md b/doc/api/protected_branches.md index 81fe854060a..950ead52560 100644 --- a/doc/api/protected_branches.md +++ b/doc/api/protected_branches.md @@ -136,7 +136,7 @@ DELETE /projects/:id/protected_branches/:name ``` ```bash -curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" 'https://gitlab.example.com/api/v4/projects/5/protected_branches/*-stable' +curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" 'https://gitlab.example.com/api/v4/projects/5/protected_branches/*-stable' ``` | Attribute | Type | Required | Description | |