> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Page Content

Update the content of a specified page by its inner element IDs.

<Note>
  External Documentation

  To learn more, visit the [Microsoft OneNote documentation](https://learn.microsoft.com/en-us/graph/api/page-update?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Content Commands  | An array of [content command objects](https://learn.microsoft.com/en-us/graph/api/resources/patchcontentcommand?view=graph-rest-1.0) to modify specific elements on the page. Each command must specify a target element ID, an action (`insert`, `append`, `replace`, `prepend`, `delete`), and the new HTML content.<br /><br />Use the "Get Page Content" action with "Include Element IDs" enabled to find target IDs.<br /><br />For example:<br /><pre><code>\[<br />  \{<br />    "target":"#para-id",<br />    "action":"insert",<br />    "position":"before",<br />    "content":"<img src="https://mintlify.s3.us-west-1.amazonaws.com/blinkops-2/docs/integrations/microsoft-onenote/actions/image-data-url-or-part-name" alt="Image above the target paragraph" />"<br />  },<br />  \{<br />    "target":"#list-id",<br />    "action":"append",<br />    "content":"<li>Item at the end of the list</li>"<br />  }<br />]</code></pre>For additional information regarding to creating content commands, refer to [Microsoft OneNote API documentation](https://learn.microsoft.com/en-us/graph/onenote-update-page). |
  | Notebook ID       | The ID of the OneNote notebook to interact with.<br /><br />**Note**: This parameter's fetcher depends on the selected notebook location. When location is not specified, the fetcher will retrieve all notebooks from the account.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
  | Notebook Location | Choose whether to access OneNote from your account, OneDrive, or from a SharePoint site.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  | Page ID           | The ID of the page to interact with.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
  | Section ID        | The ID of the section to interact with.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
  | Site ID           | The ID of the SharePoint site that contains the OneNote notebook. Can be obtained by using the `SharePoint List Sites` action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | User ID           | The ID of the user whose OneDrive contains the OneNote notebooks.<br /><br />**Note**: Using the delegated (OAuth) connection type will only allow to insert the connected user's ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
</div>

## Workflow Library Example

[Update Page Content with Microsoft Onenote and Send Results Via Email](https://library.blinkops.com/workflows/update-page-content-with-microsoft-onenote-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-page-content-with-microsoft-onenote-and-send-results-via-email/canvas" />
</div>
