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

# Delete an asset

> Permanently delete an asset from the given space. This removes the stored file and any derived embeddings for that asset.



## OpenAPI

````yaml /openapi.yaml delete /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}:
    delete:
      tags:
        - Assets
      summary: Delete an asset
      description: >-
        Permanently delete an asset from the given space. This removes the
        stored file and any derived embeddings for that asset.
      operationId: deleteApiKbAssetsBySpaceIdByAssetId
      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
      responses:
        '204':
          description: Asset deleted successfully.
        '403':
          description: >-
            Returned when the caller does not have delete permissions for the
            asset or space.
        '404':
          description: Returned when the asset cannot be found in the specified space.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````