Get Started
Usage API
More information

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

Description

Removes a link to the selected project from the contact with the ID specified in the request.

Parameters
Name Description Type Example
contactid
sent in url
Contact ID number 1234
projectid
sent in url
Project ID number 1234
Example
DELETE api/2.0/crm/contact/1234/project/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Contact information

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>