Skip to main content Skip to complementary content

DestroyDraft method

Overview

Removes the draft of an object.

The children of the draft object (if any) are removed as well.

This method can be used to cancel the work on the draft of an object. For example, if you had created a draft of a sheet that is published, you might not want anymore to replace the published sheet.

Parameters

Name Description Type
qId

Identifier of the draft object to remove.

This parameter is mandatory.

String
qSourceId Identifier of the source object (the object from which a draft was created). String

Outputs

"result": { "qSuccess": <true or false>
}
Information noteThe operation is successful if qSuccess is set to true.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!