Skip to main content

Creates a new variable in the group and assigns the specified value to it

PUT 

/variables/runtime/groups/:groupName/variables/:variableName

Creates a new variable in the group and assigns the specified value to it.

Example: curl -u user:password -i -X PUT -H 'content-type:application/json' -d 'variableValue' http://orchestra-host:orchestra-port/variables/runtime/groups/{groupName}/variables/{variableName}

Request​

Responses​

Returns HTTP Status 200 on successful deletion.
If the specified group doesn't exist, it will create a new group with the same name.
If the variable already exists in the group, it will update the old value with the new one.
Also returns the location of the newly created variable in the header of the response. Ex.

Location: http://localhost:8080/runtime/groups/g1/variables/var1