Changes a photo for the contact with the ID specified in the request.
Name | Description | Type | Example |
contactid
sent in url
|
Contact ID | number | 1234 |
photo
sent in body
|
Contact photo (upload using multipart/form-data) |
Files for adding using multipart/form-data
collection
|
N/A |
PUT api/2.0/crm/contact/1234/changephoto Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "photo": [] }
Path to the contact photo