Connecting a Domain Name to WAF
Function Description
This API is used to connect a domain name to WAF.
URI
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
access_status |
Yes |
Integer |
Specifies whether a domain name is connected to WAF. 1: The domain name is connected to WAF. |
Response
Response parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
access_status |
Yes |
Integer |
Specifies whether a domain name is connected to WAF.
|
protect_status |
Yes |
Integer |
Specifies the WAF mode of a domain name.
|
Examples
access_status with a value of 1 is used as an example.
- Request example
{ "access_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