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

# Delete an entity

> Delete an entity by ID



## OpenAPI

````yaml api-reference/openapi.json delete /api/entities/{id}
openapi: 3.1.0
info:
  title: Neode API
  description: >-
    A knowledge graph API for storing, querying, and generating triples. Use
    Neode as a triples store for your LLM applications - store facts, query
    knowledge, and generate new triples from any context.
  version: 1.0.0
  contact:
    name: Neode
servers:
  - url: https://www.neode.ai
    description: Production server
  - url: http://localhost:5173
    description: Local development
security:
  - BearerAuth: []
tags:
  - name: Search
    description: Semantic search across your knowledge graph
  - name: Triples
    description: Store and query knowledge as subject-predicate-object triples
  - name: Entities
    description: Manage entities (subjects and objects) with automatic disambiguation
  - name: Graphs
    description: Organize triples into graphs
  - name: Generation
    description: AI-powered triple generation from natural language
  - name: Indexes
    description: Organize entities into indexes
paths:
  /api/entities/{id}:
    delete:
      tags:
        - Entities
      summary: Delete an entity
      description: Delete an entity by ID
      operationId: deleteEntity
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Successfully deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessMessage'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    SuccessMessage:
      type: object
      description: A simple success response with a message
      properties:
        success:
          type: boolean
        message:
          type: string
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        details:
          type: string
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key for authentication

````