Audio

Deletes a voice created from a text prompt or an audio sample.

Requires voice write permission and access to the voice's project. Access to voices created from recordings is limited to eligible customers. See the custom voices guide.

Deleting a voice does not delete its consent recording. Deleting an already deleted voice returns a 404 error.

delete/audio/voices/{voice_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/audio/voices/{voice_id}
  • Auth
    HTTP bearer

Path parameters

voice_idstring required

The ID of the voice to delete.

Response

OK

idstring required

The voice identifier.

object'audio.voice.deleted' required

The object type, which is always audio.voice.deleted.

deletedboolean required

Whether the voice was deleted.

Example response

{
  "id": "voice_1234"
}

Changes