summaryrefslogtreecommitdiff
path: root/doc/api/features.md
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-04-03 13:35:26 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-04-03 16:39:08 +0200
commitcaca8f34ffb56aed98a7894c98af6c4d1a5de78f (patch)
tree4c2990913120c783649206ebfb097a519edd6644 /doc/api/features.md
parent8dca091ff7f04bb92a7835ebeff783b7f0ef76cd (diff)
downloadgitlab-ce-caca8f34ffb56aed98a7894c98af6c4d1a5de78f.tar.gz
Allow feature gate removal through the APIzj-feature-gate-remove-http-api
Features could be listed and added through the api, now also removed. This was needed in the case of gitlab.com as the number of gates that were ever used just grows and cleaning up is hard.
Diffstat (limited to 'doc/api/features.md')
-rw-r--r--doc/api/features.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/features.md b/doc/api/features.md
index 6861dbf00a2..6ee1c36ef5b 100644
--- a/doc/api/features.md
+++ b/doc/api/features.md
@@ -86,3 +86,11 @@ Example response:
]
}
```
+
+## Delete a feature
+
+Removes a feature gate. Response is equal when the gate exists, or doesn't.
+
+```
+DELETE /features/:name
+```