doesnt seem why you cannot do that. It will work depending on the server and whether created api key is correct or not.