delete_label: Delete a label from a repository

Description Usage Arguments Details Value Examples

View source: R/labels.R

Description

This function deletes a label from a repository, as long as you have appropriate permissions. Care should be taken as it will not be recoverable.

Usage

1
delete_label(label, repo, ...)

Arguments

label

(string) The name of the label.

repo

(string) The repository specified in the format: owner/repo.

...

Parameters passed to gh_request().

Details

For more details see the GitHub API documentation:

Value

delete_label() returns a TRUE if successfully deleted.

Examples

1
2
3
4
5
6
## Not run: 

  delete_label("new-label", repo = "ChadGoymer/githapi")


## End(Not run)

ChadGoymer/githapi documentation built on Oct. 22, 2021, 10:56 a.m.