module Gitlab::Client::Projects

def edit_deploy_key(project, id, title, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) - Information about created deploy key.

Parameters:
  • options (Hash) -- A customizable set of options.
  • title (String) -- The title of a deploy key.
  • id (Integer) -- The ID of a deploy key.
  • project (Integer, String) -- The ID or path of a project.
def edit_deploy_key(project, id, title, options = {})
  put("/projects/#{url_encode project}/deploy_keys/#{id}", body: { title: title }.merge(options))
end