Associate Tags

Associate tags with an existing feature flag. This endpoint requires a JSON body containing the array of tags to associate with the object.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The tags array you send is the end state, meaning it replaces any tags already on the feature flag rather than appending to them. To add a tag while keeping the existing ones, include them in the array.

Only feature flags can be tagged through this endpoint. Segments and metrics are not supported by the Admin API.

Access requirements

The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:

Admin API Key roles accepted

  • API_ALL_GRANTED
  • API_FEATURE_FLAG_EDITOR*

Admin API Key scopes accepted

  • GLOBAL
  • WORKSPACE

To learn more about Admin API Key roles and scopes, see API keys overview.


Path Params
string
required

The ID of the project (workspace) where the object exists. After migration to Harness, get this value using the Get Projects (Workspaces) endpoint and the Harness project name.

string
required

The name of the feature flag.

string
required
Defaults to Split

The type of object you want to tag. The only supported value is Split, which is the legacy identifier for the feature flag object type. Send the literal string Split even though the object is referred to as a feature flag throughout Harness FME.

Form Data
json

String list. End state of tags associated with the object

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json