> ## 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.

# Delete Page



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#ONENOTE_DELETE_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_DELETE_PAGE:
    post:
      summary: Delete 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_DELETE_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 Delete 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 Delete 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 Delete 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 Delete.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671")
                  required:
                    - type
                    - userId
                    - groupId
                    - siteId
                    - pageId
                  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.

````