Method: Gitlab::Client::Projects#unshare_project_with_group

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

#unshare_project_with_group(project, id) ⇒ void

This method returns an undefined value.

Unshare project with group.

Examples:

Gitlab.unshare_project_with_group('gitlab', 2)

Parameters:

  • project (Integer, String)

    The ID or path of a project.

  • id (Integer)

    The ID of a group.

[View source]

499
500
501
# File 'lib/gitlab/client/projects.rb', line 499

def unshare_project_with_group(project, id)
  delete("/projects/#{url_encode project}/share/#{id}")
end