Skip to main content

pageEditorListPermissions

Returns whether a user belongs to an owner's account and whether they can create sites or edit the site named by domain. When the user is not in the owner's account only accountExists: false is set. Requires page editor navigation access.

pageEditorListPermissions(
domain: String!
ownerId: Int
userId: Int
): PageEditorListPermissionsMeta!

Arguments​

pageEditorListPermissions.domain ● String! non-null scalar​

Registrable site domain, such as example.com.

pageEditorListPermissions.ownerId ● Int scalar​

Owner id from me.userId; defaults to the current account id when omitted.

pageEditorListPermissions.userId ● Int scalar​

User id from teamMembers; defaults to the acting user when omitted.

Type​

PageEditorListPermissionsMeta object​

Permission snapshot used by page-editor sharing and publishing flows; account_exists short-circuits the other fields when no account relationship exists.