Get Started
Usage API
More information

DELETE api/2.0/crm/contact/{contactid}/avatar This function requires authentication

Description

Deletes an avatar of the contact with the ID specified in the request.

Parameters
Name Description Type Example
contactId
sent in url
Contact ID number 1234
contactType
sent in body
Contact type ID string some text
uploadOnly
sent in body
Defines if an avatar is already uploaded or not Bool value true
Example
DELETE api/2.0/crm/contact/1234/avatar
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "contactType": "some text",
  "uploadOnly": true
}
Returns

Default photo