code: public DeployKey enableDeployKey(Object projectIdOrPath, Integer keyId) throws GitLabApiException {
  
          if (keyId == null) {
              throw new RuntimeException("keyId cannot be null");
          }
  
          Response response = post(Response.Status.CREATED, (Form)null,
                  "projects", getProjectIdOrPath(projectIdOrPath), "deploy_keys", keyId, "enable");
          return (response.readEntity(DeployKey.class));
      }
docs: Enables a deploy key for a project so this can be used. Returns the enabled key when successful.
  
  <pre><code>GitLab Endpoint: POST /projects/:id/deploy_keys/:key_id/enable</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param keyId the ID of the deploy key to enable
  @return an DeployKey instance with info on the enabled deploy key
  @throws GitLabApiException if any exception occurs