listmonk unofficial
DELETE/maintenance/analytics/{type}

Delete campaign analytics by type

Deletes campaign analytics of the specified type. Use before_date to set the date cutoff for the analytics to remove.

1 parameter · 1 body field
typestringrequired
The type of campaign analytics to garbage collect.

Form-encoded date cutoff for deleting campaign analytics.

before_datestringoptional
The cutoff date in `YYYY-MM-DD` format.

1 status code
200Returns a boolean in `data` indicating the deletion result.
databooleanoptional

Error handling

The type path parameter specifies the campaign analytics category to delete. before_date must use the YYYY-MM-DD date format.