# 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 - **Content-Type** `string` — **Mandatory**: `application/deletedCustomColumnDetails.v1+json` ### Query Parameters - **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` - **tableName** `string` — **Mandatory**: The table name can be any of the names provided in the list below: 1. `ManagedComputerCustomFields` — if customfield created in computer view 2. `InvSWCustomFields` — if customfield 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 from 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` - **status** `string`: Indicates whether the custom field removal was successful. - **message** `string`: Confirmation message indicating the custom field has been removed. ### Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ```json { "message": "Custom field <b>COL2</b> has been removed successfully", "status": "SUCCESS" } ``` ## Rate Limit ![](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.