DELETE api/2.0/crm/voip/uploads
Deletes an uploaded file with the name specified in the request.
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
|
DELETE api/2.0/crm/voip/uploads
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"audioType": "Greeting",
"fileName": "some text"
}
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>