DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Update Workspace Variable

api/autotest/workspaces/{WorkspaceId}/variables/{Name}

Updates an existing workspace variable. The updated variable model
should be sent in the request body.

Path Params
int32
required
≥ 1

The ID of the workspace to get the item from.

string
required

The unique variable name.

Body Params

The full variable mode with the updated values.

Variable is used to feed parameters to the tasks.

string | null

The unique variable name.

int32

The database ID of the variable.

string
enum
Allowed:
string
enum
Allowed:
string | null

The variable comment.

string

The default value for the variable.

Headers
string
enum
Defaults to application/json;odata.metadata=minimal;odata.streaming=true

Generated from available request content types

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json