Skip to content

Commit

Permalink
docs: link to the correct new endpoints in the features v2 API
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Apr 27, 2022
1 parent 5d0ed34 commit 75719a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/api/admin/feature-toggles-api.md
Expand Up @@ -256,7 +256,7 @@ Used to archive a feature toggle. A feature toggle can never be totally be delet
## Enable a Feature Toggle {#enable-a-feature-toggle}

:::caution Deprecation notice
This endpoint is deprecated. Please use the [project-based endpoint to enable feature toggles](./feature-toggles-api-v2.md#where?) instead.
This endpoint is deprecated. Please use the [project-based endpoint to enable feature toggles](./feature-toggles-api-v2.md#enable-env) instead.
:::


Expand Down Expand Up @@ -290,7 +290,7 @@ None
## Disable a Feature Toggle {#disable-a-feature-toggle}

:::caution Deprecation notice
This endpoint is deprecated. Please use the [project-based endpoint to disable feature toggles](./feature-toggles-api-v2.md#where?) instead.
This endpoint is deprecated. Please use the [project-based endpoint to disable feature toggles](./feature-toggles-api-v2.md#disable-env) instead.
:::

`POST: http://unleash.host.com/api/admin/features/:featureName/toggle/off`
Expand Down

0 comments on commit 75719a0

Please sign in to comment.