Dispatch a command
POST
/devices/{deviceId}/commandsQueue a command for a device or one of its peripherals. Idempotent on Idempotency-Key.
Parameters
deviceIdpathrequiredRequest Body
type*string
payloadobject
peripheralIdstring
idempotencyKeystring
Response
Command dispatched
id*string
deviceId*string
peripheralId*stringnull
type*string
status*string
payload*object
idempotencyKey*stringnull
progress*objectnull
result*objectnull
createdBy*objectnull
expiresAt*string
createdAt*string
deliveredAt*stringnull
completedAt*stringnull
Code Samples
No code examples available for this operation.