1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

docs: link to the correct new endpoints in the features v2 API

This commit is contained in:
Thomas Heartman 2022-04-27 11:09:04 +02:00
parent 5d0ed34b66
commit 75719a0297

View File

@ -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.
:::
@ -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`