Deleting a Connection (to Be Taken Offline)
Note
The connection management capability is provided by Management Center. APIs of Management Center are recommended.
Function
This API is used to delete a connection.
URI
- URI format
DELETE /v1/{project_id}/connections/{connection_name}
- Parameter description
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID. For details about how to obtain a project ID, see Project ID and Account ID.
connection_name
Yes
String
Name of a connection.
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
workspace | No | String | Workspace ID.
|
Response Parameters
None.
Example Request
Delete the connection.
DELETE /v1/b384b9e9ab9b4ee8994c8633aabc9505/connections/connection1
Example Response
Success response
HTTP status code 204
Parent topic: Connection Management APIs (To Be Taken Offline)
- Function
- URI
- Request Parameters
- Response Parameters
- Example Request
- Example Response