Canceling checkout of a document

Checkout of document can be cancelled. The mutation of cancel checkout can take any version of the document in the VersionSeries as input.

This mutation will delete the reservation object and cancel the checkout. The deleted Reservation object will be returned.

For example:
mutation
{	
   		cancelDocumentCheckout(repositoryIdentifier:"OS1",
  		identifier:"{10AF776C-0000-C71D-BF17-73C39940CBE0}")
  		{
   			 id
  		}
	}