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

# Update Table



## OpenAPI

````yaml PATCH /api/v1/tables/{id}/
openapi: 3.0.3
info:
  title: Nekt API
  version: v1
  description: Nekt API Documentation
  contact:
    email: support@nekt.ai
servers:
  - url: https://api.nekt.ai
security: []
paths:
  /api/v1/tables/{id}/:
    patch:
      tags:
        - v1
      operationId: v1_tables_partial_update
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying this Table.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedTableDescriptionPatch'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedTableDescriptionPatch'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedTableDescriptionPatch'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Table'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PatchedTableDescriptionPatch:
      type: object
      properties:
        description:
          type: string
          nullable: true
    Table:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          readOnly: true
        slug:
          type: string
          readOnly: true
          pattern: ^[-a-zA-Z0-9_]+$
        database_id:
          type: string
          readOnly: true
        description:
          type: string
          nullable: true
        type:
          $ref: '#/components/schemas/TableTypeEnum'
        hidden:
          type: boolean
        s3_path:
          type: string
          readOnly: true
        table_format:
          allOf:
            - $ref: '#/components/schemas/TableFormatEnum'
          readOnly: true
        catalog:
          type: string
          readOnly: true
          description: >-
            Athena catalog to query this table through (federated
            s3tablescatalog/<bucket> for iceberg, AwsDataCatalog for delta).
        delta_log_retention_duration:
          type: integer
          maximum: 2147483647
          minimum: -2147483648
          nullable: true
        delta_partitions:
          type: array
          items:
            type: string
            maxLength: 1024
          nullable: true
        delta_z_order_columns:
          type: array
          items:
            type: string
            maxLength: 1024
          nullable: true
        is_scd_type_2:
          type: boolean
          readOnly: true
        primary_keys:
          type: array
          items:
            type: string
            maxLength: 256
          readOnly: true
        number_of_rows:
          type: integer
          readOnly: true
          nullable: true
        size_in_bytes:
          type: integer
          readOnly: true
          nullable: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        folder:
          type: string
          readOnly: true
          description: Folder of the table (Expandable)
        layer:
          type: string
          readOnly: true
          description: Layer of the table (Expandable)
      required:
        - catalog
        - created_at
        - database_id
        - folder
        - id
        - is_scd_type_2
        - layer
        - name
        - number_of_rows
        - primary_keys
        - s3_path
        - size_in_bytes
        - slug
        - table_format
        - updated_at
    TableTypeEnum:
      enum:
        - GENERAL
        - DIMENSION
        - FACT
      type: string
      description: |-
        * `GENERAL` - General
        * `DIMENSION` - Dimension
        * `FACT` - Fact
    TableFormatEnum:
      enum:
        - delta
        - iceberg
        - bigquery
      type: string
      description: |-
        * `delta` - delta
        * `iceberg` - iceberg
        * `bigquery` - bigquery
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````