title: RESTful API - DELETE some of a resource collection?
body: <p>I can <code>DELETE</code> a single resource like:</p>
  
  <pre><code>// Removes group 12 from employee 46
  DELETE /employees/46/groups/12
  </code></pre>
  
  <p>I can <code>DELETE</code> a whole resource collection like:</p>
  
  <pre><code>// Removes all groups from employee 46
  DELETE /employees/46/groups
  </code></pre>
  
  <p>I'm looking for the proper RESTful way to <code>DELETE</code> <em>some</em> of a resource collection.</p>
  
  <ol>
  <li><code>DELETE /employees/46/groups { ids: [12, 15, 32] }</code></li>
  <li><code>DELETE /employees/46/groups?ids=12,15,32</code></li>
  <li><code>DELETE /employees/46/groups/xx</code> (single, but call it 3 times)</li>
  </ol>
  
  <p>Should query string parameters (<code>?ids=12,15,32</code>) only be used with <code>GET</code>..?</p>
  
  <p>Should the request body (<code>{ ids: [12, 15, 32] }</code>) always be used with <code>POST</code>, <code>PUT</code> and <code>DELETE</code>..?</p>
  
  <p>All three of these will work, but which one is the standard way to <code>DELETE</code> only some of a resource collection..?</p>