public function updateLabel(string $name, string $color): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/labels/:name',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $name), Request::METHOD_PATCH, [
                'color' => $color
            ]);
    }