Fix API role definition