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

# Update ZK proof

> Update a ZK proof's details



## OpenAPI

````yaml openapi.json patch /api/zk-proofs/{id}
openapi: 3.0.3
info:
  title: Warp API
  description: >-
    Comprehensive API for Warp platform including organizations, projects, ZK
    proofs, payments, and more
  version: 1.0.0
  contact:
    name: Warp Support
    email: support@usewarp.net
servers:
  - url: https://platform.usewarp.net
    description: Platform API
  - url: https://checkout.usewarp.net
    description: Checkout API
security:
  - bearerAuth: []
paths:
  /api/zk-proofs/{id}:
    patch:
      tags:
        - ZK Proofs
      summary: Update ZK proof
      description: Update a ZK proof's details
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ZK proof ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Proof name
                status:
                  type: string
                  enum:
                    - draft
                    - compiled
                    - verified
                    - deployed
                  description: Proof status
      responses:
        '200':
          description: ZK proof updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  proof:
                    $ref: '#/components/schemas/ZKProof'
        '400':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: ZK proof not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    ZKProof:
      type: object
      properties:
        id:
          type: string
          description: ZK Proof ID
        name:
          type: string
          description: Proof name
        project_id:
          type: string
          description: Project ID
        status:
          type: string
          enum:
            - draft
            - compiled
            - verified
            - deployed
          description: Proof status
        circuit_path:
          type: string
          description: Path to circuit file
        verification_key:
          type: string
          description: Verification key
        proving_key:
          type: string
          description: Proving key
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Update timestamp
      required:
        - id
        - name
        - project_id
        - status
        - created_at
        - updated_at
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: array
          items:
            type: object
          description: Detailed validation errors
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT Bearer token authentication

````