1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

docs: remove deprecation notices for tags.

This commit is contained in:
Thomas Heartman 2022-04-26 16:19:34 +02:00
parent d7029d89b4
commit 9a0226d158

View File

@ -4,7 +4,7 @@ title: /api/admin/features
---
:::caution Deprecation notice
This API was deprecated as part of the v4.3 release and will be removed in v5.0. See [the project-based API (/api/admin/projects/:projectId)](./feature-toggles-api-v2.md) instead.
Most of this API was deprecated as part of the v4.3 release and will be removed in v5.0. You should use [the project-based API (/api/admin/projects/:projectId)](./feature-toggles-api-v2.md) instead. The deprecated endpoints are marked as such in the document below.
:::
<DeprecationNotice resourceType="endpoint" linkText="blah" linkTarget="#buh" />
@ -205,12 +205,6 @@ Returns 200-response if the feature toggle was updated successfully.
## Tag a Feature Toggle {#tag-a-feature-toggle}
:::caution Deprecation notice
<!-- What is the new version for this endpoint? -->
This endpoint is deprecated. Please use the [project-based endpoint to tag a feature toggle](./feature-toggles-api-v2.md#fetching-toggles) instead.
:::
`POST https://unleash.host.com/api/admin/features/:featureName/tags`
Used to tag a feature
@ -237,12 +231,6 @@ If the tuple (type, value) does not already exist, it will be added to the list
## Remove a tag from a Feature Toggle {#remove-a-tag-from-a-feature-toggle}
:::caution Deprecation notice
<!-- Same as the above: how do we work with tags today? -->
This endpoint is deprecated. Please use the [project-based endpoint to remove tags from a toggle](./feature-toggles-api-v2.md#fetching-toggles) instead.
:::
`DELETE https://unleash.host.com/api/admin/features/:featureName/tags/:type/:value`
Removes the specified tag from the `(type, value)` tuple from the Feature Toggle's list of tags.