# Suspend an active configuration Suspends an active configuration, temporarily halting deployment to targeted endpoints. ## Endpoints [POST /dcapi/configuration/{collectionId}/suspend](https://www.manageengine.com/products/desktop-central/help/api/cloud/deployment-fw-suspend-configuration.html) ## Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/configuration/{collectionId}/suspend ## Scope `DesktopCentralCloud.Configurations.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers **Accept** `string` **Mandatory** `application/suspendCollnDetails.v1+json` ### Path Parameters **collectionId** `string` **Mandatory** The unique numeric identifier of the active configuration to be suspended. Fetch from [Get Configurations View](https://www.manageengine.com/products/desktop-central/help/api/cloud/deployment-fw-get-configurations-view.html). ## Sample Request ```curl curl --request POST \ --url https://appdomains/dcapi/configuration/{collectionId}/suspend \ --header 'Accept: application/suspendCollnDetails.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 #### Response Body — application/json `JSON Object` - **status** `string`: Result of the suspend operation — Success or error message - **collectionId** `long`: The collection ID that was suspended - **collectionName** `string`: Display name of the suspended configuration ### HTTP code 400 #### Response Body — application/json `JSON Object` - **error_code** `string`: BAD_REQUEST: the collection is not in a deployable state (already suspended or trashed) - **error_description** `string`: Message indicating the collection must be in deployed state to suspend ### HTTP code 401 #### Response Body — application/json `JSON Object` - **errorCode** `long`: Unauthorized error code: credentials missing, expired, or invalid - **errorMsg** `string`: Authentication failure reason ## Possible Response Codes - **200** HTTP code - **400** HTTP code - **401** HTTP code ## Sample Response: HTTP 200 Configuration suspended successfully ```json { "collectionId": 12345, "status": "Success", "collectionName": "Firewall_Policy_Win11" } ``` ## Sample Response: HTTP 400 Collection is not in a deployable state ```json { "error_description": "Configuration is not in a deployable state", "error_code": "BAD_REQUEST" } ``` ## Sample Response: HTTP 401 User lacks write role or scope ```json { "error_description": "Access denied - You are not allowed to access the requested resource.", "error_code": "UAC_UNAUTHORIZED" } ``` ## 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.