module Gitlab::Client::Runners

def project_disable_runner(id, runner_id)

Returns:
  • (Gitlab::ObjectifiedHash) -

Parameters:
  • runner_id (Integer, String) -- The ID of a runner.
  • id (Integer, String) -- The ID or name of a project.

Other tags:
    See: https://docs.gitlab.com/ce/api/runners.html#disable-a-runner-from-project -
def project_disable_runner(id, runner_id)
  delete("/projects/#{url_encode id}/runners/#{runner_id}")
end