(bug 5231) Update 'api' role to be a proper role
Merge pull request #547 from anall/feature/bug5231

(bug 5231) Improve the 'api' role to be a proper role.