Перейти к содержанию

Delete a voice clone

DELhttps://my.neuronai.uz/api/v1/tts/voices/{id}

Deletes a voice clone for good. Stock voices cannot be deleted.

If the voice service fails (502), the voice is kept, so try again.

Нужен API-ключ с voices:write.

Параметры пути

  • idstringОбязательно

    The voice id.

Ответ

204

No content

Заголовки

  • X-Request-IdstringНеобязательный

    Identifies this request. A JSON body carries it as request_id too; quote it to support.

    Формат: uuid

Ошибки

  • 401

    The API key is missing or not recognized (invalid_api_key), revoked (api_key_revoked), disabled (api_key_disabled) or expired (api_key_expired).

  • 403

    The key lacks the permission this endpoint needs (insufficient_permissions), or the client IP is not in its allowlist (ip_not_allowed).

  • 404

    No such voice for this key: not_found.

  • 502

    The voice service could not do it: upstream_error. The description above says what was kept.

  • default

    Any other error, in the same shape, such as server_error (500) or service_unavailable (503).