DELETE api/2.0/crm/{entityType}/customfield/{fieldid}
Deletes a custom field with the ID specified in the request.
Name |
Description |
Type |
Example |
entityType
sent in url
|
Entity type
Allowed values: contact, person, company, opportunity, case
|
string
|
some text
|
fieldid
sent in url
|
Field ID
|
number
|
1234
|
DELETE api/2.0/crm/some+text/customfield/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": {
"relativeItemsCount": 0,
"entityId": 14523423,
"label": "Birthdate",
"fieldValue": "2022-07-02T00:45:25.6103687Z",
"fieldType": 5,
"position": 10,
"mask": "",
"id": 0
}
}
text/xml
<result>
<status>0</status>
<response>
<relativeItemsCount>0</relativeItemsCount>
<entityId>14523423</entityId>
<label>Birthdate</label>
<fieldValue>2022-07-02T00:45:25.6103687Z</fieldValue>
<fieldType>5</fieldType>
<position>10</position>
<mask></mask>
<id>0</id>
</response>
</result>