GraphQL referenceMutations
Update Block
MUTATION
updateBlock(input: UpdateBlockInput!): BlockMutationOutput!Access: Requires the blocks:write permission.
Arguments
input*Returns
- updateBlock
block?||||||||||||||||||||||||||||||||||message?Stringsuccess*Boolean!Example Request
mutation UpdateBlock($input: UpdateBlockInput!) { updateBlock(input: $input) { block { __typename ... on AccordionBlock { allowMultiple createdAt description id isActive name networkId pageId } } message success }}{ "input": { "id": "1" }}{ "data": { "updateBlock": { "block": { "__typename": "AccordionBlock", "allowMultiple": true, "createdAt": "<DateTime>", "description": "string", "id": "1", "isActive": true, "name": "string", "networkId": "1", "pageId": "1" }, "message": "string", "success": true } }}