Rest api - update single field of resource : <p>Lets say I have rest endpoint for my Driver resource.
I have PUT method like this</p>

<pre><code>myapi/drivers/{id}

{body of put method}
</code></pre>

<p>I need to add functionality which will allow to 'enable' and 'disable' driver</p>

<p>Is it good idea to create new endpoint for that  like this?</p>

<pre><code>PUT myapi/drivers/{id}/enable/false
</code></pre>

<p>or it is better to use existing endpoint ? One problem with using existing endpoint is that driver has lot's of fields(almost 30) and sending all those fields just for updating only 'enabled' or 'disable' driver is something overkill.</p>

<p>What do you think?</p>
