The legacy API is deprecated and has be removed. Please use the v2 API instead.