curl --request PATCH https://api.airbotics.io/robots/robot0/%2Fturtle1%2Fcmd_vel \
--header 'content-type: application/json' \
--header 'air-api-key: <token>' \
--data '{
  "enabled": false,
  "hz": 1
}'
{
  "message": "You have updated a data collection stream for that robot."
}

Path parameters

id
string
required

The ID of the robot.

stream
string
required

The source name of the data stream. Special characters such as / must be percent encoded

Body parameters

enabled
boolean
required

Whether the stream should be enabled

hz
number
required

The frequency in hz at which the data stream should send data points