unpublishVersion
Unpublishes a saved version and marks the tracking script for an update. Returns all versions of the page oldest first, or null when the editor owner's account cannot edit the page's site. Requires a logged-in user who owns the editor or can edit the page's site.
unpublishVersion(
versionId: String!
): [PageVersionResponse!]
Arguments
unpublishVersion.versionId ● String! non-null scalar
Version UUID from pageEditorGetEditor or pageEditorCreateVersion.
Type
PageVersionResponse object
Saved version of a page editor page, returned by pageEditorGetEditor, publishVersion, and unpublishVersion.
Published versions are applied by the tracking script.