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

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 /platform.openapi.json post /v2/projects/delete
openapi: 3.0.4
info:
  description: >-
    Public REST API for the MemMachine memory system. Manages projects and
    memories.
  title: MemMachine Public API
  version: 0.1.0
servers:
  - url: https://api.memmachine.ai
security:
  - BearerAuth: []
tags:
  - name: Projects
  - name: Memories
  - name: Metrics
  - name: Health
paths:
  /v2/projects/delete:
    post:
      tags:
        - Projects
      summary: Delete Project
      description: >
        Delete a project.


        Deletes the specified project identified by `project_id`.


        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: DeleteProject
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteProjectSpec'
        required: true
      responses:
        '204':
          description: Successful Response
        default:
          $ref: '#/components/responses/UnexpectedError'
components:
  schemas:
    DeleteProjectSpec:
      allOf:
        - $ref: '#/components/schemas/ProjectScope'
      description: |
        Specification model for deleting a project.

        Deletion is irreversible and removes the project and all associated
        data permanently.
      title: DeleteProjectSpec
    ProjectScope:
      properties:
        project_id:
          default: ''
          description: >-
            The identifier of the project. If empty, the user's default project
            is used.
          maxLength: 255
          pattern: ^[\p{L}\p{N}_:-]*$
          title: Project Id
          type: string
          x-go-type-skip-optional-pointer: true
      type: object
    Error:
      properties:
        code:
          description: Error code.
          format: int32
          type: integer
        message:
          description: Error message.
          type: string
      required:
        - code
        - message
      type: object
  responses:
    UnexpectedError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Unexpected error.
  securitySchemes:
    BearerAuth:
      scheme: bearer
      type: http

````