This request will delete the specified SIP phone model, but only if it is not in use by any phones.
| URL | https://api.telecomx.dk/pbx/sipphonemodels/SIPPHONEMODEL_ID | |
|---|---|---|
| Method | DELETE | |
| Access level | ADMIN | |
| Param | SIPPHONEMODEL_ID | Id of the SIP phone model (24 hex-char string) |
DELETE https://api.telecomx.dk/pbx/sipphonemodels/1234567890ABCDEF12345678
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 400 | bad_request | Id not found in request URI |
| 403 | access_denied | Insufficient access level |
| 404 | id | SIP phone model not found |
| 409 | id | SIP phone model is in use |
| 500 | internal_error | <Unspecified> |