v2

latestOpenAPI 3.0.1MIT2026-07-3138140196.0 KB
Forms

Update form blocks

Updates blocks in a form.

patch/forms/{formId}/blocks

Path parameters

formIdstring required

The ID of the form

Request body

Example request

{
  "blocks": [
    {
      "payload": {
        "allowedFiles": {
          "image/*": [
            ".png",
            ".jpg",
            ".gif"
          ],
          "application/*": [
            ".pdf"
          ]
        }
      }
    }
  ]
}

Response

Blocks updated successfully

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "payload": {
    "allowedFiles": {
      "image/*": [
        ".png",
        ".jpg",
        ".gif"
      ],
      "application/*": [
        ".pdf"
      ]
    }
  }
}