$('#mytable').dataTable().api().ajax.reload(); not access data api
$('#mytable').dataTable().api().ajax.reload(); not access data api

I have a breakpoint in the API that the data is retrieved, the API accessed when the page reloads, but if I click the button to refresh the data, it doesn't work, it doesn't show errors in the console either.
This code for the button is clicked:
$('#mytable').dataTable().api().ajax.reload();
$('#mytable').DataTable().draw();
This discussion has been closed.
Answers
Your code snippet seems to work here:
http://live.datatables.net/zahuqozu/1/edit
Please post a link to your page or a test case (update mine if you wish) replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin