Add ability to setup an API from a role