title: RESTFul API complex object creation rollback
body: <p>What is the proper way of handling partial object creation?
  Let's say I have a complex object, say class with sections.  So i will have some endpoints like</p>
  <pre><code>/v1/api/classes
  </code></pre>
  <p>and</p>
  <pre><code>/v1/api/classes/&lt;id&gt;/sections
  </code></pre>
  <p>and so i will POST to the first endpoint and then a number of POSTS to the 2nd to create the entire object.  What if one of the section POSTS fails?  I want to rollback the entire class creation.  What's the best way of handling that?</p>