Modifies the rewrite policy of a route.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Id | Long | No | The ID of the route. | 238 |
GatewayId | Long | No | The ID of the gateway. | 430 |
HttpRewriteJSON | string | No | The information about the rewrite policy. The JSON format is supported. | {"HTTPRewrite":"{\"pathType\":\"PRE\",\"path\":\"/\",\"status\":\"on\"}"} |
GatewayUniqueId | string | No | The unique ID of the gateway. | gw-90392d768a3847a7b804c505254da96d |
AcceptLanguage | string | No | The language of the response. Valid values:
| zh |
Response parameters
Error codes
For a list of error codes, visit the API error center.