Migrate to GitHub’s supported Teams endpoints for select methods that were relying on the deprecated endpoints. See also gh-1080