Deactivates Cloud Config.
Operation description
Note
After you deactivate Cloud Config, the resource configurations, created rules, and compliance evaluation results that are stored in Cloud Config are automatically cleared and cannot be restored. Proceed with caution.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|
The current API does not require request parameters
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D",
"StopConfigurationRecorderResult": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | AdminStopSLRFail | The administrator account is prohibited from closing the service without completely removing the aggregators. | The administrator account is not allowed to deactivate the service if the account group is not completely deleted. |
400 | MemberStopSLRFail | The member exists in the aggregator, and it is forbidden to close the service. | The member account exists in the account group. Therefore, Cloud Config cannot be deactivated. |
400 | StopSLRFail | Stop config service fail. | Failed to deactivate Cloud Config. |
For a list of error codes, visit the Service error codes.