module Gitlab::Client::GroupLabels
def create_group_label(group, name, color, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about created label.
Options Hash:
(**options)
-
:description
(String
) -- The description of the label.
Parameters:
-
options
(Hash
) -- A customizable set of options. -
color
(String
) -- The color of a label. -
name
(String
) -- The name of a label. -
group
(Integer, String
) -- The ID or name of a group.
def create_group_label(group, name, color, options = {}) post("/groups/#{url_encode group}/labels", body: options.merge(name: name, color: color)) end