Restore existing api endpoint