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

# Delete a group's memories

> Deletes every memory of one memory group. Agents bound to the group remember nothing from before the call and can remember again after it. A group that holds no memories is deleted just the same, so the call is safe to repeat.




## OpenAPI

````yaml /openapi/openapi.yaml delete /memories
openapi: 3.0.3
info:
  title: Albus API
  description: Albus service REST API
  version: 1.0.0
servers:
  - url: https://albus.sh/api
    description: Production server
  - url: http://localhost:8080
    description: Local development server
security:
  - bearerAuth: []
  - apiKey: []
tags:
  - name: Agents
    description: Inspect the agents that have run in your organization.
  - name: Auth
    description: Identify the authenticated user.
  - name: Health
    description: Check service availability.
  - name: Memories
    description: Read and delete what your agents remember.
  - name: Models
    description: Discover the models available to run agents on.
  - name: Secrets
    description: Manage secrets available to agent sessions.
  - name: Sessions
    description: Run and inspect agent sessions.
  - name: Tokens
    description: Manage organization API keys.
  - name: Traces
    description: Find your agent invocations and read what they did.
paths:
  /memories:
    delete:
      tags:
        - Memories
      summary: Delete a group's memories
      description: >
        Deletes every memory of one memory group. Agents bound to the group
        remember nothing from before the call and can remember again after it. A
        group that holds no memories is deleted just the same, so the call is
        safe to repeat.
      operationId: deleteMemoryGroup
      parameters:
        - $ref: '#/components/parameters/MemoryGroup'
      responses:
        '204':
          description: Deleted
        '400':
          description: Invalid group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrBadRequest'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrUnauthorized'
      security:
        - bearerAuth: []
        - apiKey: []
components:
  parameters:
    MemoryGroup:
      name: group
      in: query
      required: true
      description: >
        The memory group to read or delete — the `memory.group` value the agents
        sharing those memories run with.
      schema:
        type: string
        minLength: 1
        maxLength: 256
  schemas:
    ErrBadRequest:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: Human-readable error message
          example: Invalid request parameters
    ErrUnauthorized:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: Human-readable error message
          example: Invalid or expired token
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKey:
      type: http
      scheme: bearer
      description: Org-scoped API key issued via POST /tokens

````