Skip to main content

Updates multiple tags for a feature.

PUT 

/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

Path Parameters

    featureName stringrequired

Body

required

updateTagsSchema

    addedTags

    object[]

    required

    Tags to add to the feature.

  • Array [

  • value stringrequired

    The value of the tag.

    Possible values: >= 2 characters and <= 50 characters

    Example: a-tag-value
    type stringrequired

    The type of the tag

    Possible values: >= 2 characters and <= 50 characters

    Example: simple
  • ]

  • removedTags

    object[]

    required

    Tags to remove from the feature.

  • Array [

  • value stringrequired

    The value of the tag.

    Possible values: >= 2 characters and <= 50 characters

    Example: a-tag-value
    type stringrequired

    The type of the tag

    Possible values: >= 2 characters and <= 50 characters

    Example: simple
  • ]

Responses

The resource was successfully created.

Response Headers

  • location

    string

    The location of the newly created resource.

Schema

    version integerrequired

    The version of the schema used to model the tags.

    tags

    object[]

    required

    A list of tags.

  • Array [

  • value stringrequired

    The value of the tag.

    Possible values: >= 2 characters and <= 50 characters

    Example: a-tag-value
    type stringrequired

    The type of the tag

    Possible values: >= 2 characters and <= 50 characters

    Example: simple
  • ]

Loading...