Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

createGuidelinePageBlock():CreateGuidelinePageBlock
Beta

Creates a new GuidelinePageBlock. Requires basic:write scope to be accessible and Project permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of CreateGuidelinePageBlockInput
blockTypeId: ID!
Beta

The id of the GuidelinePageBlockType of the block to create.

settings: JsonObject!
Beta

The settings of the block, as defined by the block type's settingsSchema. Only api-writable settings may be provided; required fields must be present.

sectionId: ID!
Beta

The id of the GuidelinePageSection to create the block in.

afterElementId: ID = null
Beta

The element after which the block is created. Omit to create it first in the section.

Fields of CreateGuidelinePageBlock

The GuidelinePageBlock that was created.