OpenAI 删除音色授权录音
2026-11-10 17:18 更新
删除音色授权录音
delete /audio/voice_consents/{consent_id}
删除音色授权录音。
路径参数
consent_id: string
要删除的音色授权录音 ID。
返回值
VoiceConsentDeleted object { id, deleted, object }
id: string
授权录音标识。
deleted: boolean
object: "audio.voice_consent"
"audio.voice_consent"
示例
## [中文] 发送DELETE请求;将示例API凭证及呼叫标识替换为应用使用的值。
curl https://api.openai.com/v1/audio/voice_consents/$CONSENT_ID \
-X DELETE \
-H "Authorization: Bearer $OPENAI_API_KEY"
响应
中文说明:以下为原文配置、命令或事件示例,字段名、枚举、标识符及数值保留。
{
"id": "cons_1234",
"deleted": true,
"object": "audio.voice_consent"
}
示例
## [中文] 发送DELETE请求;将示例API凭证及呼叫标识替换为应用使用的值。
curl https://api.openai.com/v1/audio/voice_consents/cons_1234 \
-X DELETE \
-H "Authorization: Bearer $OPENAI_API_KEY"以上内容是否对您有帮助:

TRAE-AI编程


更多建议: