# Suspend an active configuration Suspends an active configuration, temporarily halting deployment to targeted endpoints. ## Endpoint `POST /dcapi/configuration/{collectionId}/suspend` ## 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 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 #### Sample Response: HTTP 200 Configuration suspended successfully ```json { "collectionId": 12345, "status": "Success", "collectionName": "Firewall_Policy_Win11" } ``` ### 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 #### 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" } ``` ### HTTP code 401 #### Response Body — application/json `JSON Object` - **errorCode** `long`: Unauthorized error code returned when authentication credentials are missing, expired, or invalid (authentication=required) - **errorMsg** `string`: Authentication failure reason #### 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 **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.