Method: Gitlab::Client::GroupLabels#unsubscribe_from_group_label

Defined in:
lib/gitlab/client/group_labels.rb

#unsubscribe_from_group_label(group, name) ⇒ Gitlab::ObjectifiedHash

Unsubscribes the user from a group label to not receive notifications from it

Examples:

Gitlab.unsubscribe_from_group_label('globex', 'Backlog')

Parameters:

  • group (Integer, String)

    The ID or name of a group.

  • name (String)

    The name of a label.

Returns:

[View source]

84
85
86
# File 'lib/gitlab/client/group_labels.rb', line 84

def unsubscribe_from_group_label(group, name)
  post("/groups/#{url_encode group}/labels/#{url_encode name}/unsubscribe")
end