Addded API for team access.

I wish the console api could more closely match the naming convention of the api documentation. But I wasn't able to work around that. I'll open a separate bug discussing that.