DELETE api/2.0/crm/voip/uploads This function requires authentication

Description

Deletes an uploaded file with the name specified in the request.

Parameters
Name Description Type Example
audioType
sent in body
Audio type Greeting, HoldUp, VoiceMail, Queue Greeting
fileName
sent in body
Uploaded file name string some text
Example
DELETE api/2.0/crm/voip/uploads
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "audioType": "Greeting",
  "fileName": "some text"
}
Returns

Uploaded file

Example Response

application/json

{
  "status": 0,
  "response": {
    "Name": "Name",
    "Path": "Path",
    "AudioType": 1,
    "IsDefault": true
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Name>Name</Name>
    <Path>Path</Path>
    <AudioType>1</AudioType>
    <IsDefault>True</IsDefault>
  </response>
</result>