Method: Gitlab::Client::Groups#delete_group_custom_attribute

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

#delete_group_custom_attribute(key, group_id = nil) ⇒ Boolean

Delete custom_attribute Will delete a custom_attribute

Examples:

Gitlab.delete_group_custom_attribute('somekey', 2)

Parameters:

  • key (String)

    The custom_attribute key to delete

  • group_id (Integer) (defaults to: nil)

    The ID of a group.

Returns:

  • (Boolean)
[View source]

320
321
322
# File 'lib/gitlab/client/groups.rb', line 320

def delete_group_custom_attribute(key, group_id = nil)
  delete("/groups/#{group_id}/custom_attributes/#{key}")
end