---
title: "Unpublish one of your voices"
method: POST
path: "/voices/{voiceId}/unpublish"
---

# Unpublish one of your voices

`POST /voices/{voiceId}/unpublish`

## Request

- Base URL: `https://api.lazybird.app/v1`
- URL: `https://api.lazybird.app/v1/voices/{voiceId}/unpublish`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`

Removes a published voice from the public library; it stays in your voices.

## Path parameters

- `voiceId` string, required

## Response `200`

The voice, private again

- object
  - `voice` Voice
    - `id` string, required: Pass as `voiceId`. Treat as opaque.
    - `displayName` string, required
    - `description` string
    - `labels` string[]
    - `language` string: Primary locale, e.g. `en-US`
    - `secondaryLocaleList` string[]: Other locales the voice can speak via `settings.locale`
    - `gender` string
    - `styleList` string[]: Values accepted by `settings.style`
    - `previewText` string
    - `previewUrl` string, uri
    - `avatar` string
    - `scope` string: `global`, `community` or `user`
    - `published` boolean
    - `mine` boolean

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid API key
- `422`: Plan limit reached (credits, voice slots or plan feature)
- `429`: Too many requests; retry after `Retry-After` seconds
- `500`: Server error

---

[API](https://skmtc.dev/lazybird/apis/lazybird-speech-api.md) · [All operations](https://skmtc.dev/lazybird/apis/lazybird-speech-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lazybird/apis/lazybird-speech-api/revisions/aaa34f32852f?raw)
