Delete an existing label
Deprecated
DELETE
/api/v4/projects/{id}/labels
Deprecated in GitLab 12.4. Use DELETE /projects/:id/labels/:name instead.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”label_id
integer
The ID of the label to be deleted
name
string
The name of the label to be deleted
Responses
Section titled “Responses”OK
Media typeapplication/json
object
id
integer format: int64
name
string
description
string
text_color
string
description_html
string
color
string
archived
boolean
open_issues_count
integer
closed_issues_count
integer
open_merge_requests_count
integer
subscribed
boolean
priority
integer
is_project_label
boolean
Example
{ "id": 1, "name": "bug", "description": "Bug reported by user", "text_color": "#FFFFFF", "description_html": "<p>Bug reported by user</p>", "color": "#FF0000", "archived": false, "open_issues_count": 1, "closed_issues_count": 0, "open_merge_requests_count": 1, "subscribed": false, "priority": 10}Bad Request
Not Found