Update a workflow environment

Renames, reorders or rescopes the environment; at least one of name, position and scope is required. The caller needs the workflow_graph update ability on the company. The production environment takes no scope (409).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The workflow environment id (UUID).

Body Params
string
length ≤ 100

Trimmed; not blank and unique per company.

integer
0 to 2147483647
scope
object

The devices an environment selects: members of the listed fleets, devices carrying one of the tags, and the listed devices, among the devices of the environment's company. Scope tags match device tags ignoring case: tags are saved trimmed, lower-cased and once (" Pilot " and "PILOT" are saved as "pilot"), and "pilot" selects a device tagged "Pilot", "PILOT" or "pilot". Fleet and device ids are trimmed and keep their case. Each list holds at most 1000 entries as sent. A repeated fleet or device id, or an empty entry, is a 400. The production environment takes no scope.

Responses

400

The request was malformed or contained invalid parameters.

401

You are not authorized

403

You are forbidden from accessing this resource

404

The item you were looking for does not exist

409

The name is taken, or a scope was set on the production environment.

500

An unexpected error was encountered.

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