# Updating value of a custom field for a given computer This API updates a specified custom field for a particular resource ID by providing the field name and its new value. ## Endpoint `POST /dcapi/customFields/computers/{ColumnID}/update` ## Request URL `https://{server-hostname}:8383/dcapi/customFields/computers/{ColumnID}/update` ## Scope `CustomField.CREATE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/updateCustomFieldStatus.v1+json` - **Content-Type** `string` — **Mandatory** - `application/updateCustomField.v1+json` ### Path Parameters - **ColumnID** `string` — **Mandatory** - Provide the resource ID obtained from [this API](https://www.manageengine.com/products/desktop-central/help/api/onpremise/computers-getcomputersinfo.html). ### Request Body `application/json` - `JSON Object` - **fieldName** `string` — Optional - The custom field name as the key (e.g., OS Type) with its new value as the string value. ## Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/customFields/computers/{ColumnID}/update \ --header 'Accept: application/updateCustomFieldStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/updateCustomField.v1+json' \ --data '{"OS Type":"Windows 10"}' ``` ## Sample Request Body ```json { "OS Type": "Windows 10" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **status** `string` - Indicates whether the custom field update was successful. - **message** `string` - Confirmation message of the custom field update operation. ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 ```json { "message": "Custom field has been updated successfully", "status": "SUCCESS" } ``` ## Rate Limits ![ ](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.