🌍 Global Mirror — Visit original CN site →
Skip to content
Primary navigation

Update voice consent

POST/audio/voice_consents/{consent_id}

Updates a voice consent recording (metadata only).

Path ParametersExpand Collapse
Body ParametersJSONExpand Collapse
name: string

The updated label for this consent recording.

ReturnsExpand Collapse

Update voice consent

curl https://api.openai.com/v1/audio/voice_consents/cons_1234 \
  -X POST \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Doe"
  }'
{
  "id": "cons_1234",
  "created_at": 0,
  "language": "language",
  "name": "name",
  "object": "audio.voice_consent"
}
Returns Examples
{
  "id": "cons_1234",
  "created_at": 0,
  "language": "language",
  "name": "name",
  "object": "audio.voice_consent"
}