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

# Delete Memory

> Remove the singleton memory row.

After delete, the engine assembly falls back to the default
in-memory backend. The reload pipeline reassembles + validates
that fallback so a misconfigured agent row surfaces as a 422
rather than leaving the engine in a half-deleted state.



## OpenAPI

````yaml /standalone/openapi.json delete /admin/api/v1/memory
openapi: 3.1.0
info:
  title: Idun Agent Engine Server
  description: A production-ready server for conversational AI agents
  version: 0.6.1
servers: []
security: []
tags:
  - name: Runtime
    description: >-
      Public agent run endpoints, engine operations, and chat-channel webhooks.
      SSE streaming via the AG-UI protocol.
  - name: Agent Configuration
    description: >-
      Singleton admin endpoints for the agent, prompts, memory, guardrails, and
      onboarding wizard.
  - name: Auth & SSO
    description: >-
      Login, sessions, password change, SSO config, and the public SSO discovery
      endpoint.
  - name: Integrations & Tools
    description: MCP server registry and external integration credentials.
  - name: Observability
    description: Tracing/logging provider configuration.
  - name: Traces
    description: >-
      Trace and span storage admin endpoints — list, detail, delete, and
      pipeline-health for the standalone trace store.
  - name: Dashboard
    description: >-
      Operator dashboard widgets — KPIs, time-series, top errors, and
      configuration summary.
paths:
  /admin/api/v1/memory:
    delete:
      tags:
        - Agent Configuration
      summary: Delete Memory
      description: |-
        Remove the singleton memory row.

        After delete, the engine assembly falls back to the default
        in-memory backend. The reload pipeline reassembles + validates
        that fallback so a misconfigured agent row surfaces as a 422
        rather than leaving the engine in a half-deleted state.
      operationId: delete_memory_admin_api_v1_memory_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/StandaloneMutationResponse_StandaloneSingletonDeleteResult_
components:
  schemas:
    StandaloneMutationResponse_StandaloneSingletonDeleteResult_:
      properties:
        data:
          $ref: '#/components/schemas/StandaloneSingletonDeleteResult'
        reload:
          $ref: '#/components/schemas/StandaloneReloadResult'
      type: object
      required:
        - data
        - reload
      title: StandaloneMutationResponse[StandaloneSingletonDeleteResult]
    StandaloneSingletonDeleteResult:
      properties:
        deleted:
          type: boolean
          const: true
          title: Deleted
          default: true
      type: object
      title: StandaloneSingletonDeleteResult
      description: |-
        Body of a DELETE response for a singleton resource.

        Singleton resources (memory, future ones) are addressed by route
        instead of by id, so the response carries only the deletion flag.
    StandaloneReloadResult:
      properties:
        status:
          $ref: '#/components/schemas/StandaloneReloadStatus'
        message:
          type: string
          title: Message
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - status
        - message
      title: StandaloneReloadResult
      description: |-
        Reload outcome attached to every admin mutation response.

        ``reloaded`` means DB committed and runtime now uses the new config.
        ``restart_required`` means DB committed and process restart is needed.
        ``reload_failed`` means DB rolled back and runtime is unchanged.
    StandaloneReloadStatus:
      type: string
      enum:
        - reloaded
        - restart_required
        - reload_failed
      title: StandaloneReloadStatus
      description: Outcome of a reload triggered by an admin mutation.

````