Skip to content

Search these docs, or ask Revo a question — answers link the pages they came from.

Puts a device in a workcell, moves it, or ungroups it when workcellId is null.


PUT
/api/v1/{tenantId}/devices/{deviceId}/workcell

Plugin API access: this operation accepts a plugin JWT (PluginBearer) for its own tenant.

deviceId
required
string
tenantId
required
string
object
workcellId
string
nullable

OK

object
workcells
Array<object>
nullable
object
id
string
nullable
name
string
nullable
colour
string
nullable
devices
Array<object>
nullable
object
deviceInstanceId
string
nullable
name
string
nullable
ungrouped
Array<object>
nullable
object
deviceInstanceId
string
nullable
name
string
nullable

Bad Request

object
message
string
nullable
code
string
nullable

Not Found

object
message
string
nullable
code
string
nullable

Too Many Requests

object
message
string
nullable
code
string
nullable

Service Unavailable

object
message
string
nullable
code
string
nullable

Gateway Timeout

object
message
string
nullable
code
string
nullable