diff --git a/website/docs/api/admin/feature-toggles-api-v2.md b/website/docs/api/admin/feature-toggles-api-v2.md index 3785a6a0272..71e7ffe3521 100644 --- a/website/docs/api/admin/feature-toggles-api-v2.md +++ b/website/docs/api/admin/feature-toggles-api-v2.md @@ -5,6 +5,7 @@ title: /api/admin/projects/:projectId > In order to access the admin API endpoints you need to identify yourself. You'll need to [create an ADMIN token](/user_guide/api-token) and add an Authorization header using the token. +**Available sense Unleash v4.3** In this document we will guide you on how you can work with feature toggles and their configuration. Please remember the following details: @@ -12,9 +13,6 @@ In this document we will guide you on how you can work with feature toggles and - A feature toggle exists _across all environments_. - A feature toggle can take different configuration, activation strategies, per environment. -TODO: Need to explain the following in a bit more details: -- The _default_ environment - > We will in this guide use [HTTPie](https://httpie.io) commands to show examples on how to interact with the API. diff --git a/website/docs/api/admin/feature-toggles-api.md b/website/docs/api/admin/feature-toggles-api.md index 43073669afa..948a795960c 100644 --- a/website/docs/api/admin/feature-toggles-api.md +++ b/website/docs/api/admin/feature-toggles-api.md @@ -5,6 +5,8 @@ title: /api/admin/features > In order to access the admin API endpoints you need to identify yourself. Unless you're using the `none` authentication method, you'll need to [create an ADMIN token](/user_guide/api-token) and add an Authorization header using the token. +**This API was deprecated as part of the v4.3 release and will be removed in v5.0. See [/api/admin/projects/:projectId](/api/admin/feature-toggles-v2) instead.** + ### Fetching Feature Toggles {#fetching-feature-toggles} `GET: http://unleash.host.com/api/admin/features` diff --git a/website/sidebars.js b/website/sidebars.js index 652baf77ce4..33f60663450 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -76,6 +76,8 @@ module.exports = { ], 'Admin API': [ 'api/admin/features', + 'api/admin/projects', + 'api/admin/feature-toggles-v2', 'api/admin/features-archive', 'api/admin/strategies', 'api/admin/metrics', @@ -84,7 +86,6 @@ module.exports = { 'api/admin/feature-types', 'api/admin/addons', 'api/admin/context', - 'api/admin/projects', 'api/admin/user-admin', ], 'Client SDK API': [