# Resume a suspended compliance collection Resumes a previously suspended CIS compliance collection, restarting scheduled scans and policy enforcement. ## Endpoint [POST /dcapi/scap/compliance/map/{collectionId}/resume](https://www.manageengine.com/products/desktop-central/help/api/onpremise/resume-compliance-collection.html) ## Request ### Request URL `https://{server-hostname}:8383/dcapi/scap/compliance/map/{collectionId}/resume` ### Scope `VulnerabilityMgmt.CREATE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Path Parameters **collectionId** `string` **Mandatory** The collection ID of the CIS compliance audit to resume. Fetch from [Get CG Association Details](https://www.manageengine.com/products/desktop-central/help/api/onpremise/get-cg-association-details.html). ### Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/scap/compliance/map/{collectionId}/resume \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON object` - **status** `string` - Operation result. Success for suspend, Resumed or Expired for resume - **collectionName** `string` - Name of the compliance collection ### HTTP Code 401 #### Response Body — application/json `JSON object` - **errorCode** `string` - Unauthorized error code. Collection is not a compliance or quarantine collection, or user lacks scope access - **errorMessage** `string` - Message indicating the collection type mismatch or insufficient scope ### HTTP Code 429 #### Response Body — application/json `JSON object` - **errorCode** `long` - Rate limit error code returned when the API call threshold (configured via threshold/duration in security XML) is exceeded; client is locked out for lock-period minutes - **errorMsg** `string` - Rate limit exceeded message with retry guidance ### Possible Response Codes - **200** — HTTP code - **401** — HTTP code - **429** — HTTP code ### Sample Response: HTTP 200 #### Compliance collection resumed successfully ```json { "STATUS": "Resumed", "collectionName": "Production Servers Compliance" } ``` #### Collection has expired and cannot be resumed ```json { "STATUS": "Expired", "collectionName": "Production Servers Compliance" } ``` ### Sample Response: HTTP 401 #### The provided collection is not a compliance collection or user lacks scope ```json { "errorMessage": "The given Collection is not a Compliance Collection", "errorCode": "UAC_UNAUTHORIZED" } ``` #### User does not have scope access to the resource group ```json { "errorMessage": "No access, Provided resource group is not in scope", "errorCode": "UAC_UNAUTHORIZED" } ``` ### Sample Response: HTTP 429 #### API call threshold exceeded ```json { "errorMessage": "Rate limit exceeded. Retry after some time", "errorCode": "TOO_MANY_REQUESTS" } ``` ## 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.