Create an Upgrade Radio Firmware Task on a Device

POST /api/v2/devices/992798923/tasks
{
  "data": {
    "type": "tasks",
    "attributes": {
      "type": "RADIO_FIRMWARE_UPGRADE",
      "firmware_id": "60db22fa31eddd3c1e89867e"
    }
  }
}

RESPONSE:

{
  "data": {
    "id": "60db22fa31eddd3c1e89867f",
    "type": "tasks",
    "attributes": {
      "function": "RADIO_FIRMWARE_UPGRADE",
      "created_at": "2021-06-29T13:41:14.941Z",
      "state": "queued",
      "firmware_id": "60db22fa31eddd3c1e89867e",
      "version": "4.8"
    }
  }
}