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

# Update a singleplayer quiz share

> Update a singleplayer quiz share



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi patch /api/v1/share/{shareId}
openapi: 3.1.0
info:
  title: IntelliQ API
  description: API for IntelliQ
  version: 2.0.0
servers:
  - url: http://localhost:8787
    description: Local server
  - url: https://app.intelliq.dev
    description: Production server
security: []
paths:
  /api/v1/share/{shareId}:
    patch:
      tags:
        - Share
      summary: Update a singleplayer quiz share
      description: Update a singleplayer quiz share
      operationId: patchApiV1ShareByShareId
      parameters:
        - in: path
          name: shareId
          schema:
            type: string
            format: uuid
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                isAnonymous:
                  type: boolean
                isPublic:
                  type: boolean
              required:
                - isAnonymous
                - isPublic
      responses:
        '200':
          description: Quiz share updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  quiz:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      userId:
                        type: string
                        format: uuid
                      title:
                        type: string
                      description:
                        type:
                          - string
                          - 'null'
                      topic:
                        type:
                          - array
                          - 'null'
                        items:
                          type: string
                      tags:
                        type:
                          - array
                          - 'null'
                        items:
                          type: string
                      passingScore:
                        type:
                          - number
                          - 'null'
                      documentId:
                        type:
                          - number
                          - 'null'
                      type:
                        type: string
                      createdAt:
                        type: string
                      language:
                        type: string
                      userScore:
                        type:
                          - number
                          - 'null'
                      correctAnswersCount:
                        type:
                          - number
                          - 'null'
                      questionsCount:
                        type: number
                      roomId:
                        type:
                          - string
                          - 'null'
                        format: uuid
                      totalTimeTaken:
                        type:
                          - number
                          - 'null'
                      passed:
                        type:
                          - boolean
                          - 'null'
                      createdBy:
                        type: string
                    required:
                      - id
                      - userId
                      - title
                      - description
                      - topic
                      - tags
                      - passingScore
                      - documentId
                      - type
                      - createdAt
                      - language
                      - userScore
                      - correctAnswersCount
                      - questionsCount
                      - roomId
                      - totalTimeTaken
                      - passed
                  shareId:
                    type: string
                    format: uuid
                  shareUrl:
                    type: string
                    format: uri
                  isPublic:
                    type: boolean
                  isAnonymous:
                    type: boolean
                  type:
                    type: string
                required:
                  - quiz
                  - shareId
                  - shareUrl
                  - isPublic
                  - isAnonymous
                  - type

````