delete https://api.chartmogul.com/v1/data_sources/
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:
ChartMogul::DataSource.retrieve("ds_ade45e52-47a4-231a-1ed2-eb6b9e541213").destroy!
ChartMogul.DataSource.destroy(
config,
"ds_ade45e52-47a4-231a-1ed2-eb6b9e541213"
);
ChartMogul\DataSource::retrieve("ds_ade45e52-47a4-231a-1ed2-eb6b9e541213")->destroy();
api.DeleteDataSource("ds_ade45e52-47a4-231a-1ed2-eb6b9e541213")
chartmogul.DataSource.destroy(
config,
uuid="ds_ade45e52-47a4-231a-1ed2-eb6b9e541213"
)
Result Format
{}
true
{}
true
nil
None
This action is permanent
This request will permanently delete the specified source and all associated data. This includes all customers, plans, invoices, subscriptions, transactions, and any other data added in this source.
This action cannot be undone; use with caution.