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

# Delete Project

> Delete a project.

    Deletes the specified project identified by `org_id` and `project_id`,
    following the same rules as project creation.

    This operation removes the project and all associated memories (episodes)
    permanently from the system. It cannot be undone.

    If the project does not exist, a not-found error is returned.



## OpenAPI

````yaml /openapi.json post /api/v2/projects/delete
openapi: 3.1.0
info:
  title: MemMachine API
  version: 0.3.10
  description: >-
    Architectural Memory Systems for AI Agents. Specialized in episodic and
    semantic memory management with strict namespace isolation.
servers:
  - url: http://localhost:8080
security: []
tags:
  - name: Configuration
    description: System overview and memory subsystem configuration.
  - name: Episodic Configuration
    description: Per-project episodic memory subsystem configuration.
  - name: Memories
    description: Core operations for episodic and semantic memory ingestion and retrieval.
  - name: Projects
    description: Lifecycle management for isolated memory namespaces.
  - name: Resources
    description: Embedder, language model, and reranker lifecycle management.
  - name: 'Semantic Memory: Categories'
    description: Category, template, and tag management for semantic sets.
  - name: 'Semantic Memory: Features'
    description: Add, retrieve, and update individual semantic features.
  - name: 'Semantic Memory: Sets'
    description: Set type and set ID lifecycle, listing, and configuration.
  - name: System
    description: Infrastructure, health, and observability.
paths:
  /api/v2/projects/delete:
    post:
      tags:
        - Projects
      summary: Delete Project
      description: |-
        Delete a project.

            Deletes the specified project identified by `org_id` and `project_id`,
            following the same rules as project creation.

            This operation removes the project and all associated memories (episodes)
            permanently from the system. It cannot be undone.

            If the project does not exist, a not-found error is returned.
      operationId: delete_project
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteProjectSpec'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DeleteProjectSpec:
      properties:
        org_id:
          type: string
          title: Org Id
          description: |2-

                The unique identifier of the organization.

                - Must not contain slashes (`/`).
                - Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
                  characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
                  are allowed.

                This value determines the namespace the project belongs to.
                
          examples:
            - MemVerge
            - AI_Labs
        project_id:
          type: string
          title: Project Id
          description: |2-

                The identifier of the project.

                - Must be unique within the organization.
                - Must not contain slashes (`/`).
                - Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
                  characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
                  are allowed.

                This ID is used in API paths and resource locations.
                
          examples:
            - memmachine
            - research123
            - qa_pipeline
      type: object
      required:
        - org_id
        - project_id
      title: DeleteProjectSpec
      description: >-
        Specification model for deleting a project.


        This model defines the identifiers required to delete a project from a

        specific organization. The identifiers must comply with the `SafeId`

        rules.


        Deletion operations are typically irreversible and remove both metadata
        and

        associated configuration for the specified project.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````