PBX API : PUT /Colleagues/:id/

To update a colleague, make an HTTP PUT request with basic authorization, resource URI:

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

PUT Parameters

Required Parameters

NamePossible valuesRequiredDescription
data

name
extension
officePhone
mobilePhone
faxNumber
email
role
groupDn
language
dialplan
faxDialplan
department

 

Example:
data[name]=user1

 

Optional Parameters:

NameDefaultPossible valuesDescription

Example:

 

POST params
data[name]=user1
POST http://{PBX}/api/v1/Colleagues/2951881/
 {

    "type":"result",
    "result":{
        "changed":1
    }
}