Delete a Source

DELETE https://api.chartmogul.com/v1/data_sources/{DATA_SOURCE_UUID}

Deletes the specified data_source object and all its associated data.

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"
)
{}
true
{}
true
nil
None

Path parameters

data_source_uuid string required
The ChartMogul UUID of the data source that needs to be deleted.

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.