reverting alerts api