Skip to main content
Version: latest

Creates a Tag filter

POST 

/v1/filters/tag

Creates a Tag filter

Request

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    metadata

    object

    ObjectMeta input entity for object creation

    annotations

    object

    Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.

    property name*string

    labels

    object

    Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag

    property name*string
    namestring

    Name of the resource.

    spec

    object

    Filter create spec

    filterGroup

    conjunctionstringnullable

    Possible values: [and, or]

    filters

    undefined[]

  • Array [

  • keystring
    negationboolean
    operatorstring

    Possible values: [eq]

    valuesstring[]
  • ]

Responses

Created successfully

Response Headers

  • AuditUid

    string

    Audit uid for the request

Schema

    uidstringrequired
Loading...