# Initiate Database Sync Initiates a manual vulnerability database synchronization to ensure the latest patch information is available. Returns an error if a synchronization is already in progress. ## Endpoints `POST /dcapi/patch/sync/updateDB` ## Request URL `https://{server-hostname}:8383/dcapi/patch/sync/updateDB` ## Scope `PatchMgmt.CREATE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/patch/sync/updateDB \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 Response Body - `application/json` **JSON Object** - **dbupdate_inprogress** `boolean`: Whether a database update was already in progress when the request was made - **status** `string`: Operation result: success #### Sample Response: HTTP 200 Database sync successfully initiated ```json { "dbupdate_inprogress": false, "status": "success" } ``` ### HTTP code 409 Response Body - `application/json` **JSON Object** - **dbupdate_inprogress** `boolean`: Always true when DB update is already running - **status** `string`: Operation result: error #### Sample Response: HTTP 409 Database sync already running ```json { "dbupdate_inprogress": true, "status": "error" } ``` ## Possible Response Codes - **200** `HTTP code` - **409** `HTTP code` ![](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.