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

# Delete an avatar

> Delete one of your account's avatars. New sessions can no longer use it. Presets cannot be deleted.



## OpenAPI

````yaml /openapi.json delete /v1/avatars/{avatar_id}
openapi: 3.0.3
info:
  title: Boson AI API
  description: REST API for Boson AI audio models.
  version: 1.0.0
  license:
    name: Proprietary
servers:
  - url: https://api.boson.ai
security:
  - bearerAuth: []
paths:
  /v1/avatars/{avatar_id}:
    delete:
      tags:
        - Avatar Realtime
      summary: Delete an avatar
      description: >-
        Delete one of your account's avatars. New sessions can no longer use it.
        Presets cannot be deleted.
      operationId: deleteAvatar
      parameters:
        - name: avatar_id
          in: path
          required: true
          description: The avatar ID, e.g. `avatar_9f3c...` or `builtin_claire_v1`.
          schema:
            type: string
      responses:
        '200':
          description: The avatar was deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvatarDeleted'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            The avatar is a Boson preset and cannot be deleted
            (`avatar_not_deletable`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            No avatar with that ID, it belongs to another account, or it was
            already deleted (`avatar_not_found`). The three are not
            distinguished, so this endpoint cannot be used to discover another
            account's avatar IDs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AvatarDeleted:
      type: object
      properties:
        avatar_id:
          type: string
        object:
          type: string
          enum:
            - avatar
          default: avatar
        deleted:
          type: boolean
          enum:
            - true
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              description: Human-readable error message.
            type:
              type: string
              description: Error category.
            code:
              type: string
              nullable: true
              description: Machine-readable cause within `type`.
            param:
              type: string
              nullable: true
              description: The offending parameter, if any.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your Boson API key, sent as `Authorization: Bearer $BOSON_API_KEY`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.