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

# Update Prompt Partial

> Update an existing prompt partial



## OpenAPI

````yaml /public-apis/openapi/prompt-partials.json put /v1/prompt-partials
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - prompt-partials
  description: API documentation for Maxim SDK prompt-partials endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/prompt-partials:
    put:
      tags:
        - Prompt Partial
      summary: Update Prompt Partial
      description: Update an existing prompt partial
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                  description: Unique identifier for the workspace
                id:
                  type: string
                  description: Unique identifier for the prompt partial
                name:
                  type: string
                  description: Name of the prompt partial
                description:
                  type: string
                  description: Description of the prompt partial
                folderId:
                  type: string
                  nullable: true
                  description: Unique identifier for the folder
              required:
                - workspaceId
                - id
      responses:
        '200':
          description: Prompt partial updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      description:
                        type: string
                        nullable: true
                      workspaceId:
                        type: string
                      accountId:
                        type: string
                      folderId:
                        type: string
                        nullable: true
                      createdById:
                        type: string
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                      deletedAt:
                        type: string
                        nullable: true
                    required:
                      - id
                      - name
                      - description
                      - workspaceId
                      - accountId
                      - folderId
                      - createdById
                      - createdAt
                      - updatedAt
                      - deletedAt
                required:
                  - data
        '400':
          description: Invalid request parameters
        '401':
          description: Unauthorized
        '404':
          description: Prompt partial not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````