Additional object change actions
The API currently exposes a few convenience mutations for certain core types in the CE
object model. It is possible to perform a variety of other change actions using the generic
changeObject() mutation.
For example, a Promote or Demote action could be performed using this generic changeObject() mutation. Refer to examples in a later section for additional details.
You can use the cancelDocumentCheckout mutation to cancel a checkout.
Note that cancelling a checkout is not a separate type of action. A checkout is cancelled by deleting whatever document is the reservation document of a VersionSeries. The reservation can be selected as an output field of any Document or VersionSeries. A cancelDocumentCheckout mutation is added as a convenience to delete whatever version is the reservation document. See the samples section for more details.