Deletes the routing algorithm of a logical table.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteLogicTableRouteConfig

The operation that you want to perform. Set the value to DeleteLogicTableRouteConfig.

TableId Long Yes 1****

The ID of the logical table. You can call the ListLogicTables operation to query the ID of the logical table.

RouteKey String Yes id-hash-mod15

The unique key of the routing algorithm. You can call the ListLogicTableRouteConfig operation to query the unique key.

Tid Long No 3***

The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID.

RegionId String No cn-hangzhou

The region in which DMS is activated. For more information, see RegionID parameter.

Response parameters

Parameter Type Example Description
RequestId String A916A004-A88C-5B39-ABDB-DE808E80****

The ID of the request.

ErrorCode String MissingRouteKey

The error code returned.

ErrorMessage String RouteKey is mandatory for this action.

The error message returned.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://dms-enterprise.aliyuncs.com/?Action=DeleteLogicTableRouteConfig
&TableId=1****
&RouteKey=id-hash-mod15
&Tid=3***
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteLogicTableRouteConfigResponse>
    <RequestId>A916A004-A88C-5B39-ABDB-DE808E80****</RequestId>
    <Success>true</Success>
</DeleteLogicTableRouteConfigResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "A916A004-A88C-5B39-ABDB-DE808E80****",
  "Success" : true
}

Error codes

For a list of error codes, visit the API Error Center.