Skip to content

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/$CONSENT_ID \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -d '{
          "name": "name"
        }'
{
  "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"
}