I have executed one batch class in sandbox but after that I want to delete the batch class execution details like ID and All.
All batch jobs that have completed execution are removed from the batch queue list seven days after completion.
There is a method by which you can delete jobs executed before today, but it will delete all jobs and not only a single entry.
Integer count = System.purgeOldAsyncJobs (Date.today()); System.debug('Deleted ' + count + ' old jobs.');