Switching the WAF Mode
Function Description
This API is used to switch the WAF mode.
URI
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
protect_status |
Yes |
Integer |
Specifies the WAF mode of a domain name.
|
Response
Response parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
protect_status |
Yes |
Integer |
Specifies the WAF mode of a domain name.
|
Examples
protect_status with a value of 1 is used as an example.
- Request example
{ "protect_status": 1 }
- Response example
{ "protect_status": 1 }
Status Code
For details about error status codes, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot