module Octokit::Client::Issues
def remove_assignees(repo, number, assignees, options = {})
- Example: Remove assignees "pengwynn" from Issue #23 on octokit/octokit.rb -
Example: Remove assignees "pengwynn" and "joeyw" from Issue #23 on octokit/octokit.rb -
Other tags:
- See: https://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue -
Returns:
-
(Sawyer::Resource)- Issue
Parameters:
-
options(Hash) -- Header params for request -
assignees(Array) -- Assignees to be removed -
number(Integer) -- Issue number -
repo(Integer, String, Repository, Hash) -- A GitHub repository
def remove_assignees(repo, number, assignees, options = {}) delete "#{Repository.path repo}/issues/#{number}/assignees", options.merge({ assignees: assignees }) end