Enables or disables the Security Center agent.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Uuids | string | Yes | The UUIDs of servers for which you want to enable or disable the Security Center agent. | uuid-1211-sadsd-2131 |
| Value | string | Yes | The status of the Security Center agent. Valid values:
| 1 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "6673D49C-A9AB-40DD-B4A2-B92306701AE7"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | - |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2022-08-01 | The Error code has changed | View Change Details |
| 2022-08-01 | The Error code has changed | View Change Details |
