Skip to main content

pageEditorDeleteVersion

Permanently deletes a version and returns true, or returns false without deleting when the editor owner's account cannot edit the page's site. Marks the tracking script for an update when the version was published; use unpublishVersion to keep the version. Requires a logged-in user who owns the editor or can edit the page's site.

pageEditorDeleteVersion(
versionId: String!
): Boolean

Arguments​

pageEditorDeleteVersion.versionId ● String! non-null scalar​

Version UUID from pageEditorGetEditor or pageEditorCreateVersion.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.