Delete a DbTap
- DELETE /api/v1.2/db_taps/(int: dbtap_id)/
Use this API to delete a data store. See Understanding a Data Store for more information.
Required Role
The following users can make this API call:
Users who belong to the system-admin group.
Users who belong to a group associated with a role that allows deleting a DbTap. See Managing Groups and Managing Roles for more information.
Response
The response contains a JSON object with the status of the operation.
Example
Goal: delete a Understanding a Data Store having id 123
curl -i -X DELETE -H "Content-Type: application/json" \
-H "Accept: application/json" -H "X-AUTH-TOKEN:$X_AUTH_TOKEN" \
https://api.qubole.com/api/v1.2/db_taps/123
Note
The above syntax uses https://api.qubole.com as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"status":"deleted"}