Skip to main content

pageEditorUnlockElement

Removes an element identifier from the page's lockedElements and returns true. Pass only an element that is currently locked. Requires a page editor token for the editor, or a logged-in user who owns the editor or can edit the page's site.

Page editor

This operation serves the Crazy Egg page editor. Besides personal access tokens, it accepts the page editor's own credential, and it checks access to the editor, page or site involved.

pageEditorUnlockElement(
pageId: String!
element: String!
): Boolean

Arguments​

pageEditorUnlockElement.pageId ● String! non-null scalar​

Page UUID from pageEditorCreatePage or pageEditorGetEditor.

pageEditorUnlockElement.element ● String! non-null scalar​

Element identifier previously passed to pageEditorLockElement.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.