GraphQL referenceMutations
Move Block
MUTATION
moveBlock(input: MoveBlockInput!): BlockMutationOutput!Access: Requires the blocks:write permission.
Arguments
input*Returns
- moveBlock
block?||||||||||||||||||||||||||||||||||message?Stringsuccess*Boolean!Example Request
mutation MoveBlock($input: MoveBlockInput!) { moveBlock(input: $input) { block { __typename ... on AccordionBlock { allowMultiple createdAt description id isActive name networkId pageId } } message success }}{ "input": { "id": "1", "targetPageId": "1" }}{ "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 } }}