Create an Apply Configuration Task on a Device

POST /api/v2/devices/995356139/tasks
{
  "data": {
    "type": "tasks",
    "attributes": {
      "type": "CONFIG_UPGRADE",
      "config_file_id": "60db20df31eddd3a911f90f8"
    }
  }
}

RESPONSE:

{
  "data": {
    "id": "60db20df31eddd3a911f910e",
    "type": "tasks",
    "attributes": {
      "function": "CONFIG_UPGRADE",
      "created_at": "2021-06-29T13:32:15.831Z",
      "state": "queued",
      "config_file_id": "60db20df31eddd3a911f90f8"
    }
  }
}