Skip to main content

Edit tag

PUT /v1/tags/:tag

Token scope required: tags:update

caution

Any properties not provided in the request will be reset to their default values. Be sure to include all current values you don't want to change, including configOverrides.

Unless "before" or "after" are specified, the priority will not change.

Request

Path Parameters
  • tag string required
    Example: env:prod
Request Body required
  • description string

    Possible values: <= 255 characters

    Optional description

  • configOverrides object[]

    List of config overrides for the nebula config

  • Array [
  • anyOf
  • key string required

    Possible values: [lighthouse.dns.host]

  • value string required
  • ]
  • before key:value

    If specified, the new tag will be moved before this tag (i.e. will have a lower priority / precedence than the "before" tag.) Cannot be specified in combination with "after."

  • after key:value

    If specified, the new tag will be moved after this tag (i.e. will have a higher priority / precedence than the "after" tag.) Cannot be specified in combination with "before."

  • routeSubscriptions route-id[]

    A list of route IDs to which any hosts with this tag will be subscribed.

  • Responses

    Successful operation

    Schema
    • data object
    • name key:value

      key is max 20 characters, value is max 50 characters, no whitespace around either allowed

    • description string
    • configOverrides object[]

      List of config overrides for the nebula config

    • Array [
    • anyOf
    • key string required

      Possible values: [lighthouse.dns.host]

    • value string required
    • ]
    • priority integer

      Priority is managed by the API. Use "before" and "after" inputs to order tags. Config overrides associated with tags of a higher (greater) priority take precedence over lower priorities.

    • hostCount int64

      Count of hosts which have the tag assigned.

    • routeSubscriptions route-id[]

      Route IDs to which any hosts with this tag will be subscribed.

  • metadata object
  • Loading...