Get Started
Usage API
More information

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

Description

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

Parameters
Name Description Type Example
contactids
sent in body
List of contact IDs 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

List of contacts

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "smallFotoUrl": "url to foto",
      "displayName": "Tadjeddine Bachir",
      "isCompany": false,
      "isPrivate": true,
      "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>true</isPrivate>
    <isShared>false</isShared>
    <shareType>0</shareType>
    <currency />
    <canEdit>false</canEdit>
    <canDelete>false</canDelete>
    <id>0</id>
  </response>
</result>