Skip to main content

Updates multiple tags for a feature.

PUT 

<your-unleash-url>/api/admin/features/:featureName/tags

Receives a list of tags to add and a list of tags to remove that are mandatory but can be empty. All tags under addedTags are first added to the feature and then all tags under removedTags are removed from the feature.

Request

Responses

The resource was successfully created.

Response Headers
    location

    The location of the newly created resource.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X PUT '<your-unleash-url>/api/admin/features/:featureName/tags' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"addedTags": [
{
"value": "tag-to-add",
"type": "simple"
}
],
"removedTags": [
{
"value": "tag-to-remove",
"type": "simple"
}
]
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
Body required
{
  "addedTags": [
    {
      "value": "tag-to-add",
      "type": "simple"
    }
  ],
  "removedTags": [
    {
      "value": "tag-to-remove",
      "type": "simple"
    }
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!