Delete a Data Source

Deletes the specified data_source object and all its associated data.

Examples
curl -X DELETE "https://api.chartmogul.com/v1/data_sources/ds_ade45e52-47a4-231a-1ed2-eb6b9e541213" \
     -u YOUR_API_KEY:
data_sources = ChartMogul::DataSource.all
ds = data_sources.last
ds.destroy!
ChartMogul.DataSource.destroy(config, "ds_ade45e52-47a4-231a-1ed2-eb6b9e541213", function (err, res) {
   // aysnchronously called
});
<?php

ChartMogul\DataSource::all()->last()->destroy();
?>
api.DeleteDataSource("ds_ade45e52-47a4-231a-1ed2-eb6b9e541213")
chartmogul.DataSource.destroy(config, uuid='ds_dc5e3618-edfa-11e6-9e29-f709b6341791')
Result Format
{ }
true
{ }
true
nil
None

🚧

Impact of this action

This request will permanently delete the specified data source and all associated data. Data deleted includes all the customers, plans, customer's invoices, subscriptions, transactions and any customer attributes created under this data source. This action cannot be undone.

Language
Authentication
Basic
base64
: