# Delete Custom Field Deletes the specified custom field and its associated data. ## Endpoint `DELETE /dcapi/customColumn/removeCustomColumn` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/customColumn/removeCustomColumn` ## Scope `DesktopCentralCloud.CustomField.DELETE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers | Parameter | Type | Required | Value | |---|---|---|---| | Content-Type | string | Mandatory | `application/deletedCustomColumnDetails.v1+json` | ### Query Parameters | Parameter | Type | Required | Description | |---|---|---|---| | forceDelete | boolean | Optional | Delete the custom field even if it is being used in other reports or dependent columns | ### Request Body `application/json` JSON Object: | Attribute | Type | Required | Description | |---|---|---|---| | tableName | string | Mandatory | The table name can be any of the names provided in the list below:
1. `ManagedComputerCustomFields` — if custom field created in computer view
2. `InvSWCustomFields` — if custom field created in software view. | | actualColumnName | string | Mandatory | The actual name of the custom field column for which the User Data Type length is required. `actualColumnName` can be obtained from the `columName` key in the response of [/dcapi/customFields/computers/{ID}](https://www.manageengine.com/products/desktop-central/help/api/cloud/custom-field-get-computer-custom-fields.html). | ## Sample Request ```curl curl --request DELETE \ --url https://appdomains/dcapi/customColumn/removeCustomColumn \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/deletedCustomColumnDetails.v1+json' \ --data '{"actualColumnName":"COL2","tableName":"ManagedComputerCustomFields"}' ``` ### Sample Request Body ```json { "actualColumnName": "COL2", "tableName": "ManagedComputerCustomFields" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` JSON Object: | Attribute | Type | Description | |---|---|---| | status | string | Indicates whether the custom field removal was successful | | message | string | Confirmation message indicating the custom field has been removed | ### Sample Response: HTTP 200 ```json { "message": "Custom field COL2 has been removed successfully", "status": "SUCCESS" } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration — Time window for the threshold. Threshold — Number of API calls allowed within the specified duration. Lock Period — Wait time before consecutive API requests.