Method: Gitlab::Client::Projects#delete_project_custom_attribute

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

#delete_project_custom_attribute(key, project_id = nil) ⇒ Boolean

Delete custom_attribute Will delete a custom_attribute

Examples:

Gitlab.delete_project_custom_attribute('somekey', 2)

Parameters:

  • key (String)

    The custom_attribute key to delete

  • project_id (Integer) (defaults to: nil)

    The ID of a project.

Returns:

  • (Boolean)
[View source]

693
694
695
# File 'lib/gitlab/client/projects.rb', line 693

def delete_project_custom_attribute(key, project_id = nil)
  delete("/projects/#{project_id}/custom_attributes/#{key}")
end