switchWebRuleOrigin

Products

Anti-DDoS Pro

2019-08-20 09:20:41

switchWebRuleOrigin

Description

Switch web service rules into back-to-origin status

Request Method

POST

Request Address

https://ipanti.jdcloud-api.com/v1/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:origin

Name Type Required or Not Default Value Description
regionId String True Region ID, Anti-DDoS Pro dose not differentiate regions, upload to cn-north-1 directly
instanceId String True Anti-DDoS Pro instance Id
webRuleId String True Web Rule Id

Request Parameter

None

Response parameter

Name Type Description
result Result
requestId String
error Error

Error

Name Type Description
err Err

Err

Name Type Description
code Long Same as http code
details Object
message String
status String Specific Error

Result

Name Type Description
code Integer 0: Failed to switch rule to back-to-origin, 1: Succeeded to switch rule to back-to-origin
message String Please specify reasons for failure of switching rule to back-to-origin

Return Code

Return Code Description
200 OK
404 NOT_FOUND
500 INTERNAL_SERVER_ERROR
Feedback

开始与售前顾问沟通

可直接拨打电话 400-098-8505转1

我们的产品专家为您找到最合适的产品/解决⽅案

在线咨询 5*8⼩时

1v1线上咨询获取售前专业咨询

点击咨询
企微服务助手

专业产品顾问,随时随地沟通