ModifyBlockSwitchs
Description
change the blocking switch state in DDoS settings.
Request Method
POST
Request Path
/apsara/route/Ddosprivate/ModifyBlockSwitchs
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Mode | BODY | integer | Yes | No sample value for this parameter. | The state of the blocking switch, including: 0: indicates closed state 1: indicates open state |
| Id | BODY | integer | Yes | No sample value for this parameter. | block switch ID. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}