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

# Delete a Voice

> Delete a voice.

<Tabs>
  <Tab title="Python">
    ```python theme={null}
    def voices_delete(client: Cartesia, voice_id: str) -> None:
        """Delete a voice."""
        client.voices.delete(voice_id)
    ```

    From [cartesia-python/examples/examples.py:495](https://github.com/cartesia-ai/cartesia-python/blob/main/examples/examples.py#L495)
  </Tab>

  <Tab title="TypeScript">
    ```typescript theme={null}
    async function voicesDelete(client: Cartesia): Promise<void> {
      /** Delete a voice. */
      await client.voices.delete('voice-id');
    }
    ```

    From [cartesia-js/examples/node\_examples.ts:368](https://github.com/cartesia-ai/cartesia-js/blob/main/examples/node_examples.ts#L368)
  </Tab>
</Tabs>

## Run this example

<Tabs>
  <Tab title="Python">
    ```sh theme={null}
    cd cartesia-python
    CARTESIA_API_KEY=YOUR_KEY python3 examples/examples.py voices_delete
    ```
  </Tab>

  <Tab title="TypeScript">
    ```sh theme={null}
    cd cartesia-js
    CARTESIA_API_KEY=YOUR_KEY npx ts-node examples/node_examples.ts voicesDelete
    ```
  </Tab>
</Tabs>
