EaserixDocs
DevelopersAPI referenceNotesBlocks

Update a block

View as Markdown
PATCH
/v1/blocks/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/v1/blocks/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "block": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "pageId": "347b9bf8-fe00-46f6-b8ca-1e06b3bd5809",    "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",    "type": "string",    "content": "string",    "properties": {},    "position": 0,    "created": "2019-08-24T14:15:22Z",    "updated": "2019-08-24T14:15:22Z"  }}