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

# Update page sharing state

> Owner-only. Updates access type, general role, public-sharing toggle, and the invited user list in one call. Inherited members are read-only — they cannot be removed here. Owner row in `page_users` is preserved.




## OpenAPI

````yaml /openapi/pages.yaml patch /pages/{id}/share
openapi: 3.1.0
info:
  title: Connie Pages API
  version: 1.0.0
  description: >
    API for the Pages module â€” a Notion-style hierarchical page/wiki system
    with AI-powered content generation, multi-source syncing, vector search, and
    public/private sharing.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Pages
    description: page lifecycle management (CRUD, folders, favorites)
  - name: Page Articles
    description: Article and content retrieval
  - name: Page Search
    description: Full-text and vector search across pages
  - name: Page Invites
    description: page-specific invitation management
  - name: Page Sharing
    description: Public and shared access endpoints
  - name: Page AI
    description: AI-powered content generation
  - name: Page Attachments
    description: File upload and media management
  - name: Page Bulk
    description: Bulk operations (delete, move)
  - name: Page References
    description: Notion-style page-mention chip management
  - name: Page Comments
    description: Inline (highlight-anchored) comments on page content
  - name: Utilities
    description: Supporting utilities (link preview)
paths:
  /pages/{id}/share:
    patch:
      tags:
        - Page Sharing
      summary: Update page sharing state
      description: >
        Owner-only. Updates access type, general role, public-sharing toggle,
        and the invited user list in one call. Inherited members are read-only —
        they cannot be removed here. Owner row in `page_users` is preserved.
      operationId: updatePageShare
      parameters:
        - $ref: '#/components/parameters/pageId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                access_type:
                  type: string
                  enum:
                    - everyone
                    - invited
                general_access_role:
                  type: string
                  enum:
                    - view
                    - edit
                public_sharing:
                  type: boolean
                  description: Toggle the public-share token on/off
                invited_users:
                  type: array
                  items:
                    type: object
                    required:
                      - userId
                      - role
                    properties:
                      userId:
                        type: string
                        format: uuid
                      role:
                        type: string
                        enum:
                          - view
                          - edit
      responses:
        '200':
          description: Sharing settings updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '403':
          description: Only the page owner can change sharing settings
components:
  parameters:
    pageId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Page ID
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.