All Products
Search
Document Center

DeleteGatewayRoute

Last Updated: Jul 01, 2022

Deletes a route from a gateway.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RouteIdstringNo

The ID of the route.

252
GatewayUniqueIdstringNo

The unique ID of the gateway.

gw-492af9b04bb4474cae9d645be850e3d7
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The data structure.

RequestIdstring

The ID of the request.

ADDD8AB7-8D1C-4697-A83E-410D2607****
HttpStatusCodeinteger

The HTTP status code returned.

200
Messagestring

The message returned.

The request is processed successfully.
Codeinteger

The status code returned.

200
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.
true
Dataobject

The returned data.

IdLong

ID.

12
Namestring

The name of the route.

test
GatewayUniqueIdstring

The unique ID of the gateway.

gw-5017305290e14cebbrvec4a5****
GatewayIdLong

The ID of the gateway.

125
Predicatesstring

The matching rules of the route.

{\"PathPredicates\":{\"Path\":\"/metas\",\"Type\":\"PRE\",\"IgnoreCase\":false}}
DefaultServiceIdLong

The ID of the default service.

1
RouteOrderinteger

The sequence number of the route.

1
Statusinteger

The status of the route.

1
GmtCreatestring

The time when the route was created.

2022-01-07 18:07:57
GmtModifiedstring

The time when the route was last modified.

2021-12-30T06:41:52.000+0000

Error codes

For a list of error codes, visit the API error center.

Change history

Change timeSummary of changesOperate
2022-02-18The API operation is available.,The input parameters of the API operation change.
Change itemChange content
API VisibilityThe API operation is available.
Input ParametersThe input parameters of the API operation change.
    delete Input Parameters:GatewayId