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

# delete avatar

> Delete an avatar by ID. By default this is a soft delete: the avatar is hidden and can be restored. Pass `hard=true` to permanently purge the avatar and its stored assets (source image and generated versions). A hard delete cannot be undone and is intended for data-erasure requests; it also purges avatars that were previously soft-deleted.



## OpenAPI

````yaml https://api.anam.ai/swagger.json delete /v1/avatars/{id}
openapi: 3.1.0
info:
  title: Anam AI API
  version: '1.0'
servers:
  - url: https://api.anam.ai
    description: Anam API
security:
  - BearerAuth: []
tags:
  - name: Sessions
  - name: Meetings
  - name: Personas
  - name: Avatars
  - name: Voices
  - name: LLMs
  - name: Knowledge
  - name: Tools
  - name: Share Links
  - name: Engine
paths:
  /v1/avatars/{id}:
    delete:
      tags:
        - Avatars
      summary: delete avatar
      description: >-
        Delete an avatar by ID. By default this is a soft delete: the avatar is
        hidden and can be restored. Pass `hard=true` to permanently purge the
        avatar and its stored assets (source image and generated versions). A
        hard delete cannot be undone and is intended for data-erasure requests;
        it also purges avatars that were previously soft-deleted.
      operationId: deleteAvatar
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          required: true
          description: Avatar ID
        - in: query
          name: hard
          schema:
            type: boolean
          required: false
          description: >-
            When `true`, permanently deletes the avatar and purges its stored
            source and generated assets instead of soft-deleting it.
      responses:
        '200':
          description: Successfully deleted avatar
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Avatar deleted successfully
        '400':
          description: Bad request - Invalid avatar ID
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - API key lacks the required permission
        '404':
          description: Not Found - Avatar not found
        '500':
          description: Server error
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````