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

# Update an asset

> Update mutable asset metadata (name, connector assignment, metadata JSON, file path info, etc.) without re-uploading the file itself.



## OpenAPI

````yaml /openapi.yaml patch /api/kb/assets/{spaceId}/{assetId}
openapi: 3.1.0
info:
  title: Nuwacom API
  description: API for Nuwacom application
  version: 1.0.0
servers:
  - url: https://{customer-tenant}.nuwacom.ai/
    description: Nuwacom API
security:
  - bearerAuth: []
paths:
  /api/kb/assets/{spaceId}/{assetId}:
    patch:
      tags:
        - Assets
      summary: Update an asset
      description: >-
        Update mutable asset metadata (name, connector assignment, metadata
        JSON, file path info, etc.) without re-uploading the file itself.
      operationId: patchApiKbAssetsBySpaceIdByAssetId
      parameters:
        - in: path
          name: spaceId
          schema:
            anyOf:
              - type: string
                minLength: 2
                maxLength: 6
              - type: string
                minLength: 21
                maxLength: 21
            description: >-
              Space identifier for the asset you are trying to read, update, or
              delete.
          required: true
        - in: path
          name: assetId
          schema:
            type: string
            format: uuid
            description: >-
              The asset UUID that uniquely identifies the record within the
              database.
          required: true
      requestBody:
        required: false
        content:
          application/json:
            schema: {}
      responses:
        '204':
          description: Asset metadata updated successfully.
        '403':
          description: Returned when the caller cannot update assets in this space.
        '404':
          description: Asset not found or belongs to another space.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.