title: Find and replace value inside an array of objects javascript
body: <p>I have an array of objects:</p>
  
  <pre><code>[
   {
      "enabled": true,
      "deviceID": "eI2K-6iUvVw:APA"
  },
  {
      "enabled": true,
      "deviceID": "e_Fhn7sWzXE:APA"
  },
  {
      "enabled": true,
      "deviceID": "e65K-6RRvVw:APA"
  }]
  </code></pre>
  
  <p>A POST request is coming in with the deviceID of <code>eI2K-6iUvVw:APA</code>, all i want to do is to iterate the array, find the deviceID and change the <code>enabled</code> value to <code>false</code>. </p>
  
  <p>How's that possible in javascript? </p>