PBX API : DELETE /Phonebooks/:id/

To delete a phone book, make an HTTP DELETE request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/Phonebooks/:id/

DELETE Parameters

Required Parameters

NamePossible valuesRequiredDescription

Optional Parameters:

NameDefaultPossible valuesDescription

Example: 

DELETE http://{PBX}/api/v1/Phonebooks/53/
 {

    "type":"result",
    "result":{
        "phonebooks":1,
        "contacts":0,
    }
}