Delete a Subscription Event

Delete specified subscription_event object either by subscription event external_id and data_source_uuid or subscription event id.

Examples

curl -X DELETE "https://api.chartmogul.com/v1/subscription_events"\
-u :\
-H "Content-Type: application/json"\
-d '{
    "subscription_event":
       {
        "external_id": "1234",
        "data_source_uuid": "ds_14336c0c-ab0b-11ec-8c55-c3902af70e1c"
       }
ChartMogul::SubscriptionEvent.destroy_with_params!({ subscription_event: {
  external_id: "1234",
  data_source_uuid: "ds_14336c0c-ab0b-11ec-8c55-c3902af70e1c"
}})
chartmogul.SubscriptionEvent.destroy_with_params(config, data={
'subscription_event' : {
    'external_id' : '1234',
    'data_source_uuid' : 'ds_14336c0c-ab0b-11ec-8c55-c3902af70e1c'
}})
ChartMogul.SubscriptionEvent.deleteWithParams(config, {
  subscription_event: {
    external_id: "1234",
    data_source_uuid: "ds_14336c0c-ab0b-11ec-8c55-c3902af70e1c"
  }
})
api.DeleteSubscriptionEvent(
  &DeleteSubscriptionEvent{
    DataSourceUUID: "ds_14336c0c-ab0b-11ec-8c55-c3902af70e1c",
    ExternalID: "1234"
  }
)
ChartMogul\SubscriptionEvent::destroyWithParams(['subscription_event' => [
    "external_id" => "1234",
    "data_source_uuid" => "ds_14336c0c-ab0b-11ec-8c55-c3902af70e1c"
]]);

Result Format

{}
true
None
{}
nil
true

🚧

Impact of this action

This request will permanently delete the specified subscription event. Metrics for the customer will be recalculated based on remaining billing data after this action. This action cannot be undone.

To delete the subscription event required params are either:

  • external_id and data_source_uuid
    or
  • id
Language
Authentication
Basic
base64
: