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¶
Sample Request¶
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://gcp.qubole.com/api/v1.2/db_taps/123
Sample Response¶
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"status":"deleted"}