Create a new variable set version

This operation creates a new variable set version for use within rule sets. Variables reduce duplication and make your deployments more flexible, abstracting the detail away. You define global variables at the workspace level, setting overrides in specific environments as needed. Use this set to define static variables evaluated during compilation. For dynamic values computed at run-time during HTTP request processing, specify runtimeVariables in environment versions.

Path Params
string
required

Name of the workspace that unifies all resources for your application or service. You can rename the workspace with a separate operation after you initially create the resource.

Query Params
boolean
Defaults to true

Whether to re-use an existing resource version. The default true value checks for content parity and only creates a new version if the request content doesn't match an existing one. When false, creates a new version regardless of the request content.

string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Specifies variables that reduce duplication and make your deployments more flexible, abstracting the detail away.

variableSet
array of objects
required

A set of global variables at the workspace level, setting overrides in specific environments as needed.

variableSet*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json