Skip to content

Commit

Permalink
docs: remove deprecation notices for tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Apr 26, 2022
1 parent d7029d8 commit 9a0226d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions website/docs/api/admin/feature-toggles-api.md
Expand Up @@ -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" />
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 9a0226d

Please sign in to comment.