Delete a Custom Ringtone
Delete a custom ringtone.
Note: The PBX built-in ringtones can not be deleted.
Request URL
GET {base_url}/{api_path}/custom_ringtone/delete?file={file}&access_token={access_token}
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| file | Yes | String | The filename of the custom ringtone, including the file extension (e.g.,
"demo_ringtone.wav"). Note:
|
Response parameters
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
Example
Request example
GET /openapi/v1.0/custom_ringtone/delete?file=doc_demo_ring.wav&access_token=gwakjgu9ZBUfz36wql4ndsVKkryI0kdj HTTP/1.1
Host: 192.168.5.150:8088
Response example
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS"
}