Updated on 2023-12-14 GMT+08:00

Deleting a Route (Discarded)

Function

This API is used to delete a datasource connection route.

This API has been discarded and is not recommended.

URI

  • URI format

    DELETE /v2.0/{project_id}/datasource/enhanced-connections/{connection_id}/routes/{name}

  • Parameter description
    Table 1 URI parameters

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

    connection_id

    Yes

    String

    Datasource connection ID

    name

    Yes

    String

    Route name

Request

None

Response

Table 2 Parameters

Parameter

Type

Description

is_success

Boolean

Whether the request is successfully executed. Value true indicates that the request is successfully executed.

message

String

System prompt. If execution succeeds, the message may be left blank.

Example Request

None

Example Response

{
  "is_success": true,
  "message": "Deleted"
}

Status Codes

Status Code

Description

200

OK

Error Codes

For details, see Error Codes.