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