Update a List of Page Group User Assignments

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "iFormBuilder V80 MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp"
  }
}

Close
PUT /profiles/{profile_id}/page_groups/{page_group_id}/assignments

Headers

  • Authorization string

    e.g. Bearer {access_token}

Path parameters

  • profile_id string Required

    id of the profile

  • page_group_id number Required

    id of the page group

Query parameters

  • fields string

    extra information of each page assignment on the list

  • limit number

    maximum count of the page assignment list

  • offset number

    skip that many page assignment before beginning to return

application/json

Body

  • user_id number
  • can_collect boolean
  • can_view boolean

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • user_id number Required

      the updated user id

  • 207 application/json

    Multi-Status - some items succeeded and some failed. The body is an array in request order (a list request body, even with one item, always answers a list); a failed item carries error_message instead of user_id and was not written.

    Hide response attributes Show response attributes object
    • user_id integer

      present when the item succeeded

    • error_message string

      present when the item failed

  • 400 application/json

    Bad Request - every item of a list request body failed. The body has the same shape as 207, with error_message on each item; nothing was written. A single-object request body that fails answers the standard error object instead.

    One of:
    Hide attribute Show attribute object
    • error_message string Required
PUT /profiles/{profile_id}/page_groups/{page_group_id}/assignments
curl \
 --request PUT 'https://api.iformbuilder.com/exzact/api/v80/[servername]/profiles/self/page_groups/{page_group_id}/assignments' \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer {access_token}" \
 --data '[
  {
    "user_id": 161239,
    "can_view": false
  },
  {
    "user_id": 161242,
    "can_view": false
  }
]'
Request examples
[
  {
    "user_id": 161239,
    "can_view": false
  },
  {
    "user_id": 161242,
    "can_view": false
  }
]
{
  "can_view": false
}
Response examples (200)
[
  {
    "user_id": 161239
  },
  {
    "user_id": 161242
  }
]
Response examples (207)
[
  {
    "user_id": 12345
  },
  {
    "error_message": "Parameter 'user_id' is invalid"
  }
]
Response examples (400)
[
  {
    "error_message": "Parameter 'user_id' is invalid"
  }
]
{
  "error_message": "Parameter 'user_id' is invalid"
}