Get Started
Portal api methods
Help

DELETE api/2.0/crm/{entityType}/customfield/{fieldid} This function requires authentication

Description

Deletes the user field with the ID specified in the request

Parameters
Name Description Type Example
entityType
sent in url
Type string some text
fieldid
sent in url
Field ID number 1234
Example
DELETE api/2.0/crm/some+text/customfield/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

User field

Example Response

application/json

{
  "status": 0,
  "response": {
    "relativeItemsCount": 0,
    "entityId": 14523423,
    "label": "Birthdate",
    "fieldValue": "2019-12-15T06:37:51.1806905Z",
    "fieldType": 5,
    "position": 10,
    "mask": "",
    "id": 0
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <relativeItemsCount>0</relativeItemsCount>
    <entityId>14523423</entityId>
    <label>Birthdate</label>
    <fieldValue>2019-12-15T06:37:51.1806905Z</fieldValue>
    <fieldType>5</fieldType>
    <position>10</position>
    <mask></mask>
    <id>0</id>
  </response>
</result>