Skip to main content

Adds a tag to the specified features

PUT 

<your-unleash-url>/api/admin/projects/:projectId/tags

Add a tag to a list of features. Create tags if needed.

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X PUT '<your-unleash-url>/api/admin/projects/:projectId/tags' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"features": [
"string"
],
"tags": {
"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
{
  "features": [
    "string"
  ],
  "tags": {
    "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!