# Restores a trashed deployment back to an active state Used to restore the deployment. ## Endpoint `POST /intelligence/api/deployments/{deploymentId}/restore` ## Request URL `https://{serverurl}/intelligence/api/deployments/{deploymentId}/restore` [`{serverurl}`](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html) ## Scope `DesktopCentralCloud.DEX.CREATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` **Mandatory** - `application/deploymentRestore.v1+json` ### Path Parameters - **deploymentId** `string` **Mandatory** ## Sample Request ```curl curl --request POST \ --url https://appdomains/intelligence/api/deployments/{deploymentId}/restore \ --header 'Accept: application/deploymentRestore.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **message** `string` - Confirmation message that the deployment was restored ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 ```json { "message": "Deployment 'Onboarding Deployment' has been restored successfully." } ``` ## 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.