Method: Gitlab::Client::Projects#unstar_project

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

#unstar_project(id) ⇒ Gitlab::ObjectifiedHash

Unstars a project.

Examples:

Gitlab.unstar_project(42)
Gitlab.unstar_project('gitlab-org/gitlab-ce')

Parameters:

  • id (Integer, String)

    The ID or path of a project.

Returns:

See Also:


537
538
539
# File 'lib/gitlab/client/projects.rb', line 537

def unstar_project(id)
  delete("/projects/#{url_encode id}/star")
end