Table of Contents

API : PBX: SIP phone models Delete

Introduction

This request will delete the specified SIP phone model, but only if it is not in use by any phones.

Request

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)

Query example

DELETE https://api.telecomx.dk/pbx/sipphonemodels/1234567890ABCDEF12345678

Response

Json object
success Boolean True on success

Example

{
  success: true
}

Errors

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>