Skip to main content
DELETE
/
v1
/
custom-voices
/
{voice_id}
Delete cloned voice
curl --request DELETE \
  --url https://supertoneapi.com/v1/custom-voices/{voice_id} \
  --header 'x-sup-api-key: <api-key>'
{
  "status": "error",
  "message": {
    "message": "Invalid API Key",
    "error": "Unauthorized",
    "statusCode": 401
  }
}
このドキュメントは英語の原文から自動翻訳されています。表現に不自然な箇所がある場合があります。正確な内容は英語の原文もあわせてご確認ください。
カスタムボイスを完全に削除します。この操作は取り消せません。
そのボイスで生成済みの既存オーディオクリップには影響しません。削除されるのはボイス自体のみで、削除済みの voice_id を参照する以降の TTS コールは 404 Not Found を返します。

エンドポイント

DELETE https://supertoneapi.com/v1/custom-voices/{voice_id}

パスパラメータ

NameRequiredDescription
voice_id削除対象のカスタムボイスの ID です。

レスポンス

成功時は空のボディとともに 200 OK を返します。

エラー

StatusCause
404 Not Foundアカウント上に該当のボイスが存在しません。
403 Forbiddenボイスが別アカウントに属しています。

関連項目

Docs: Custom voices

カスタムボイスのライフサイクル全体。

List custom voices

削除前にカスタムボイスを参照します。

Authorizations

x-sup-api-key
string
header
required

Path Parameters

voice_id
string
required

Response

Voice deleted successfully