Deleting Data Import Logs via API
To delete Data Import logs the following endpoint can be used:
Method | URL | ContentType | Description |
DELETE | /change-manager/jobExecutions | application/json | Marks for deletion specified ids of DI logs |
Â
Body of the request should contain a list of log IDs that should be deleted (see example below):
{
   "ids": ["c4908351-f963-4575-9aa5-38e56f83e94e", "9ba1fde2-114e-4e63-937f-2e9c4c431787"]
}
Â
Example of the request:
** The user performing this operation should have "change-manager.jobexecutions.delete" permission assigned
Successful response would have 200 status and information about logs marked for deletion
Â
Please note that DI logs are not deleted from the DB instantaneously, instead they are marked as "DELETED". Hard deletion of DI logs happens periodically - every 24h by default, but this frequency can be configured by setting "periodic.job.execution.permanent.delete.interval.ms" for mod-source-record-manager to a different value in milliseconds.Â
Â