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

# Update Page



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#ONENOTE_UPDATE_PAGE
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#ONENOTE_UPDATE_PAGE:
    post:
      summary: Update Page
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: ONENOTE_UPDATE_PAGE
                parameters:
                  type: object
                  properties:
                    type:
                      type: string
                      description: 'Type : Select the Type of your operation.'
                      enum:
                        - users
                        - groups
                        - sites
                        - me
                    userId:
                      type: string
                      description: >-
                        User ID : Specify the ID of the User to Update Page.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") 

                        This field appears only when 'type' = 'users')
                    groupId:
                      type: string
                      description: >-
                        Group ID : Specify the ID of the Group to Update Page.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") 

                        This field appears only when 'type' = 'groups')
                    siteId:
                      type: string
                      description: >-
                        Site ID : Specify the ID of the Site to Update Page.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") 

                        This field appears only when 'type' = 'sites')
                    pageId:
                      type: string
                      description: >-
                        Page ID : Specify the ID of the Page to Update.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671")
                    jsonContent:
                      type: object
                      description: >-
                        Content : Specify content for updating the page as JSON
                        see the docs
                        (https://learn.microsoft.com/en-us/graph/onenote-update-page).
                        (example: "[
                          {
                           'target':'#para-id',
                           'action':'insert',
                           'position':'before',
                           'content':'<img src="image-data-url-or-part-name" alt="Image above the target paragraph" />'
                         }, 
                         {
                           'target':'#list-id',
                           'action':'append',
                           'content':'<li>Item at the end of the list</li>'
                         }
                        ]")
                      properties: {}
                  required:
                    - type
                    - userId
                    - groupId
                    - siteId
                    - pageId
                    - jsonContent
                  x-integration: onenote
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````