Docs
GraphQL referenceMutations

Move Block

MUTATIONmoveBlock(input: MoveBlockInput!): BlockMutationOutput!

Access: Requires the blocks:write permission.

Arguments

input*

Returns

  1. moveBlock
block?||||||||||||||||||||||||||||||||||
message?String
success*Boolean!
Example Request
mutation MoveBlock($input: MoveBlockInput!) {  moveBlock(input: $input) {    block {      __typename      ... on AccordionBlock {        allowMultiple        createdAt        description        id        isActive        name        networkId        pageId      }    }    message    success  }}
Variables
{  "input": {    "id": "1",    "targetPageId": "1"  }}
Example Response
{  "data": {    "moveBlock": {      "block": {        "__typename": "AccordionBlock",        "allowMultiple": true,        "createdAt": "<DateTime>",        "description": "string",        "id": "1",        "isActive": true,        "name": "string",        "networkId": "1",        "pageId": "1"      },      "message": "string",      "success": true    }  }}