API &1 can no longer be used as authorization levels is replaced by roles.
&1 - Identifies the API that has been called.
From version 2.0 and onwards, the authorization level based authorization has been replaced by a role based authorization system. The specified API refers authorization levels and has therefore been deprecated. The functionality should be changed to use the role based authorization system.
Find the places the API is called and change the functionality of these functions to be role based.