drop_table

POST http://localhost:9925

This method is used for dropping a table. NOTE: Dropping a table will delete all associated records in that table.

  • operation (required) - this should always be "drop_table"
  • schema (required) - schema where the table you are dropping lives.
  • table (required) - name of the table you are dropping.

Request Body

{"operation"=>"drop_table", "schema"=>"dev", "table"=>"dog"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"message":"successfully deleted dog"}