DELETE/audio/voice_consents/{consent_id}

Delete a voice consent recording

Deletes a voice consent recording. Use consent_id to identify the recording to remove.

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

3 status codes
200Returns the consent recording identifier, object type, and a `deleted` flag confirming deletion.
idstringrequired
The consent recording identifier.
objectstringrequired
Allowed:audio.voice_consent
deletedbooleanrequired
400Returned when the consent recording ID is invalid.
errorobjectrequired
404Returned when the endpoint is unavailable or the consent recording was not found.
errorobjectrequired

Error handling

A 400 is returned when consent_id is invalid. A 404 is returned when the endpoint is unavailable or the consent recording cannot be found.