Sample - OpenAI API
DELETE/audio/voice_consents/{consent_id}

Delete a voice consent recording

Deletes a specific voice consent recording. Use consent_id to identify the recording that you want to remove from the available consent records.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
consent_idstringrequired
The identifier of the voice consent recording to delete.

1 status code
200Returns a deletion result containing the consent recording identifier, the `audio.voice_consent` object type, and a boolean `deleted` value.
idstringrequired
The consent recording identifier.
objectstringrequired
Allowed:audio.voice_consent
deletedbooleanrequired

Error handling

consent_id must identify the voice consent recording to delete.