Remove a label for an issue.

@link https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue

@param string $username
@param string $repository
@param string $issue
@param string $label

@return array|string
434598
public function remove($username, $repository, $issue, $label)
    {
        return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($issue).'/labels/'.rawurlencode($label));
    }
1326543
public function show($username, $repository, $label)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/labels/'.rawurlencode($label));
    }
709466
public function removeMention($username)
    {
        if (
            $mentioned = $this->getService('repos:people.person')->find(array('username' => $username))
        ) {
            $this->mentions->extract($mentioned);

            if ($this->_mixer->isSubscribable() && $this->_mixer->subscribed($mentioned)) {
                $this->_mixer->removeSubscriber($mentioned);
            }

            return $this;
        } else {
            $this->invalidateUsername($username);

            return;
        }
    }
486654
public function remove($username, $repository, $pullRequest, array $reviewers)
    {
        return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/pulls/'.$pullRequest.'/requested_reviewers', ['reviewers' => $reviewers]);
    }
1084399
public function lock($username, $repository, $id)
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($id).'/lock');
    }
132621
public function removeLabel($module, $language, $label, $value)
    {
        require_once('modules/ModuleBuilder/parsers/parser.label.php');
        $delLabel = \ParserLabel::removeLabel($language, $label, $value, $module);

        return $delLabel;
    }
436539
public function repos($username, array $params = array())
    {
        $httpClient = $this->getClient()->getHttpClient();

        return new RepositoryCollection(
            $httpClient,
            'users/' . urlencode($username) . '/repos',
            $params
        );
    }
1295093
function tagIssue (client, repo, number, label) {
  debug("tagIssue", repo, number, label);

  client.getIssue(_.merge(extractRepo(repo), {
    "number": number
  })).then(function (issue) {
    var labels = _.pluck(issue.labels, "name");
    if (!_.contains(labels, label)) {
      return client.updateIssue(_.merge(extractRepo(repo), {
        "number": number,
        "labels": labels.concat([label])
      })).then(fromGithubIssue);
    } else {
      return fromGithubIssue(issue);
    }
  });
}
809470
def remove_label(self, name):
        
        url = self._build_url('labels', name, base_url=self._api)
        # Docs say it should be a list of strings returned, practice says it
        # is just a 204/404 response. I'm tenatively changing this until I
        # hear back from Support.
        return self._boolean(self._delete(url), 204, 404)
280097
public function unlock($username, $repository, $id)
    {
        return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($id).'/lock');
    }
300477
public static function appendLabel($uri, $label)
    {
        $host = new Host(self::filterUri($uri)->getHost());
        if ($host->isDomain()) {
            return $uri->withHost((string) (new Domain($host))->append($label));
        }

        if ($host->isIpv4()) {
            $label = ltrim((string) new Host($label), '.');

            return $uri->withHost((string) $host->withContent($host->getContent().'.'.$label));
        }

        throw new SyntaxError(sprintf('The URI host %s can not be appended', (string) $host));
    }
1029856
public function removeLabelFromAnIssue($owner, $repo, $number, $name)
	{
		$data = array();

		$name = rawurlencode( $name );

		return $this->client->request("/repos/$owner/$repo/issues/$number/labels/$name", 'DELETE', $data, 204, '');
	}
1030817
public static function remove_label(
		$project,
		$issue,
		$label,
		$args = []
	) {
		$request_url = sprintf(
			self::API_ROOT . 'repos/%s/issues/%s/labels/%s',
			$project,
			$issue,
			$label
		);

		$headers['http_verb'] = 'DELETE';

		list( $body, $headers ) = self::request( $request_url, $args, $headers );

		return $body;
	}
270518
def RemoveClientLabels(self, client, labels_names):
    """"""

    affected_owners = set()
    for label in client.GetLabels():
      if label.name in labels_names and label.owner != "GRR":
        affected_owners.add(label.owner)

    for owner in affected_owners:
      client.RemoveLabels(labels_names, owner=owner)
856190
public function replaceTopics($username, $repository, array $topics)
    {
        //This api is in preview mode, so set the correct accept-header
        $this->acceptHeaderValue = 'application/vnd.github.mercy-preview+json';

        return $this->put('/repos/'.rawurldecode($username).'/'.rawurldecode($repository).'/topics', ['names' => $topics]);
    }
1168588
async function deleteLabel(prNumber, label) {
  logger.debug(`Deleting label ${label} from #${prNumber}`);
  const azureApiGit = await azureApi.gitApi();
  await azureApiGit.deletePullRequestLabels(config.repoId, prNumber, label);
}
954709
@Override
    public java.util.concurrent.Future<RemovePermissionResult> removePermissionAsync(String topicArn, String label) {

        return removePermissionAsync(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label));
    }