> ## 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 Layer



## OpenAPI

````yaml PATCH /api/v1/layers/{slug}/
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/layers/{slug}/:
    patch:
      tags:
        - v1
      operationId: v1_layers_partial_update
      parameters:
        - in: path
          name: slug
          schema:
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedLayerDescriptionPatch'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedLayerDescriptionPatch'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedLayerDescriptionPatch'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Layer'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PatchedLayerDescriptionPatch:
      type: object
      properties:
        description:
          type: string
          nullable: true
    Layer:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          maxLength: 256
        slug:
          type: string
          readOnly: true
        description:
          type: string
          nullable: true
        database_name:
          type: string
          readOnly: true
          pattern: ^[-a-zA-Z0-9_]+$
        sample:
          type: boolean
          readOnly: true
      required:
        - database_name
        - id
        - name
        - sample
        - slug
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````