Check api key exists on resource