DELETE/repos/{owner}/{repo}/labels/{name}

Delete a label

Deletes a label from a repository using its name. Identify the repository with owner and repo, and specify the label to remove with name.

3 parameters
ownerstringrequired
The account owner of the repository; the name is not case sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case sensitive.
namestringrequired
The name of the label to delete.

1 status code
204Returns no content after deleting the label.

Error handling

The owner path parameter and repo path parameter must identify the repository. The name path parameter must identify the label to delete.