Get Started
Portal api methods
Help

PUT api/2.0/crm/contact This function requires authentication

Description

Deletes the group of contacts with the IDs specified in the request

Parameters
Name Description Type Example
contactids
sent in body
Contact ID list Collection of numbers
collection
1234
Example
PUT api/2.0/crm/contact
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "contactids": [
    1234
  ]
}
Returns

Contact list

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "smallFotoUrl": "url to foto",
      "displayName": "Tadjeddine Bachir",
      "isCompany": false,
      "isPrivate": false,
      "isShared": false,
      "shareType": 0,
      "currency": null,
      "canEdit": false,
      "canDelete": false,
      "id": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <smallFotoUrl>url to foto</smallFotoUrl>
    <displayName>Tadjeddine Bachir</displayName>
    <isCompany>false</isCompany>
    <isPrivate>false</isPrivate>
    <isShared>false</isShared>
    <shareType>0</shareType>
    <currency />
    <canEdit>false</canEdit>
    <canDelete>false</canDelete>
    <id>0</id>
  </response>
</result>