api refactor: delete api/