Delete Audio

Endpoint

https://line.cammsoft.com/v1/application/audio/delete.api

Info

This endpoint deletes an audio record.

Audio files must be in use in order to be deleted.

Warning

This resource is only accessible to authorized applications.

Repeated authentication failures will result in the banning of the offending IP address.

GET

Input Header Parameters
application-keyRequired
Input Query String Parameters
audioIdRequiredThe ID of the audio record you are deleting.

On Success
Output JSON Parameters
{}Object {}ROOT
deletedBooleanConfirmation of account deletion.
audioObject {}Copy of the audio record that was deleted.
applicationIdStringApplication ID
accountIdStringAccount ID
lineIdStringLine ID
nameStringIdentifying name
descriptionStringDescription of audio file.
contentTypeStringAudio content type. Ex: audio/x-wav
encodingStringString encoding of audio data. Ex: base64
stampCreatedNumberDateTime of creation of audio record.

On Failed
Output JSON Parameters
{}Object {}Root parameter type.
errorObject {}
codeStringError short code string.
messageStringGreater description of error.

Codes: METHOD_NOT_ALLOWED, AUDIO_NOT_FOUND, EXISTING_BLOCK, BAD_REQUEST, INTERNAL_ERROR, ACCESS_DENIED, BANNED