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

# Delete custom voice

> Delete a custom voice. Removes the voice model from xAI and soft-deletes the AI Reserve ownership record. Subsequent TTS or realtime session calls referencing this voice ID return `404`. Idempotent — an xAI 404 is treated as a successful delete.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/custom-voices/{voice_id}
openapi: 3.0.3
info:
  title: AI Reserve Gateway API
  description: >-
    The AI Reserve API surface — OpenAI-compatible chat completions,
    Anthropic-compatible messages, Bedrock Converse, images, video, files,
    text-to-speech, realtime voice sessions, and GPU Compute pod/volume
    management — all behind one endpoint and one API key.
  version: 1.0.0
servers:
  - url: https://api.aireserve.com
security:
  - bearerAuth: []
paths:
  /v1/custom-voices/{voice_id}:
    delete:
      tags:
        - Audio
      summary: Delete custom voice
      description: >-
        Delete a custom voice. Removes the voice model from xAI and soft-deletes
        the AI Reserve ownership record. Subsequent TTS or realtime session
        calls referencing this voice ID return `404`. Idempotent — an xAI 404 is
        treated as a successful delete.
      parameters:
        - schema:
            minLength: 1
            maxLength: 255
            type: string
          in: path
          name: voice_id
          required: true
          description: xAI custom voice id
      responses:
        '200':
          description: Voice deleted (or was already absent — idempotent).
        '403':
          description: '`customVoicesEnabled` is off for your organization.'
        '404':
          description: Voice ID not found or owned by another organization.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your AI Reserve API key (aireserve_api_…) from the API Keys page in the
        portal (https://portal.aireserve.com/keys).

````