Project Blocks

Update project blocks

Updates a set of blocks in a Ditto project.

Each block is identified by its developer ID. Only provided fields are modified — omitted fields remain unchanged.

patch/projectBlocks

Request

  • Base URL: https://api.dittowords.com/v2
  • URL: https://api.dittowords.com/v2/projectBlocks
  • Auth: API key in header Authorization

Request body

projectIdstring required

Developer ID of the project the blocks belong to

Example request

{
  "projectId": "my-project",
  "updates": [
    {
      "developerId": "hero-section",
      "name": "Hero"
    }
  ]
}

Response

Returns success status of the update operation

successboolean required

Indicates whether the update was successful

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.