Method: Gitlab::Client::Issues#delete_issue

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

#delete_issue(project, id) ⇒ Gitlab::ObjectifiedHash

Deletes an issue. Only for admins and project owners

Examples:

Gitlab.delete_issue(3, 42)

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • id (Integer)

    The ID of an issue.

Returns:

[View source]

135
136
137
# File 'lib/gitlab/client/issues.rb', line 135

def delete_issue(project, id)
  delete("/projects/#{url_encode project}/issues/#{id}")
end