Skip to main content

Adds a tag to a feature.

POST 

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

Adds a tag to a feature if the feature and tag type exist in the system. The operation is idempotent, so adding an existing tag will result in a successful response.

Request

Responses

The resource was successfully created.
Response Headers
  • location string
    The location of the newly created resource.

Authorization: Authorization

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

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