Deleting a Route
Function
This API is used to delete a datasource connection route.
Authorization
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see the required permissions in Introduction.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependency
dli:edsconnection:deleteRoute
Write
edsconnection *
-
-
-
-
-
-
URI
- URI format
DELETE /v3/{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 Parameters
None
Response 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 the 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot