Deleting a Data Source
Function
This API is used to delete data sources.
URI
DELETE /v1/{project_id}/connections/{connection_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For how to obtain the project ID, see Obtaining a Project ID. |
connection_id |
Yes |
String |
Data source ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Workspace-Id |
Yes |
String |
Workspace ID. For how to obtain it, see Obtaining a Workspace ID. |
X-Auth-Token |
Yes |
String |
User token. Obtain a user token by calling IAM's "Obtaining a User Token" API. X-Subject-Token in the response header is the desired user token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
message |
String |
Message content of the general Message structure. |
Example Request
Delete a data source.
DELETE /v1/{project_id}/connections/{connection_id}
Example Response
Status code: 200
The data source is successfully deleted.
{ "message" : "Delete Data Connection Success!" }
Status Codes
Status Code |
Description |
---|---|
200 |
The data source is successfully deleted. |
Error Codes
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