api:pbx:musiconhold:delete
Table of Contents
API : PBX : Music on hold Delete
Introduction
This request will delete a music on hold class and all the songs it contains.
Request
| URL | https://api.telecomx.dk/pbx/musiconhold/MOH_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | MANAGER or OWNER if user belongs to the customer who owns it. RESELLER if customer belongs to the reseller. ADMIN. |
||
| params | MOH_ID | Id of the music on hold class to delete. | |
Response
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Music on hold not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/musiconhold/delete.txt · Last modified: 2015/08/10 12:10 by Per Møller