Skip to main content

Create a variable

POST 

/variables

Create a new variable.

Request

Query Parameters

    folder string

    The folder in which the resource is defined

    snippet string

    The snippet in which the resource is defined

    device string

    The device in which the resource is defined

Body

The variable resource definition.

    oneOf
    folder stringrequired

    Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z\d-_\. ]+$

    The folder in which the resource is defined

    name stringrequired

    Possible values: <= 63 characters

    The name of the variable

    type stringrequired

    Possible values: [percent, count, ip-netmask, zone, ip-range, ip-wildcard, device-priority, device-id, egress-max, as-number, fqdn, port, link-tag, group-id, rate, router-id, qos-profile, timer]

    The variable type

    value stringrequired

    The value of the variable

    oneOf
    description string

    The description of the variable

Responses

Created

Loading...