Update a block
POST/v1/builder/tools/update_block
Changes props of a block. Only the props sent change; the result is validated against the block type.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
What the tool did, in data, and the draft's new revision (the same as before when nothing changed).
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
The revision sent is stale: someone (or another tab) saved the draft in between. Read it again and resend.
The tool refused the step (BUILDER_OPERATION_REJECTED): unknown block type, props that fail the block schema, a path in use, an unknown entity… The message says why and nothing is saved.
Rate limit exceeded.
Unexpected server error.