Method: Gitlab::Client::Notes#delete_note

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

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

Deletes a wall note.

Examples:

Gitlab.delete_note(5, 15)

Parameters:

  • project (Integer)

    The ID of a project.

  • id (Integer)

    The ID of a note.

Returns:

[View source]

200
201
202
# File 'lib/gitlab/client/notes.rb', line 200

def delete_note(project, id)
  delete("/projects/#{url_encode project}/notes/#{id}")
end