apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AccessKeyController.java/AccessKeyController/enable
class AccessKeyController:  @PutMapping(value = "/apps/{appId}/accesskeys/{id}/enable")
  public void enable(@PathVariable String appId, @PathVariable long id, String operator) {
    AccessKey entity = new AccessKey();
    entity.setId(id);
    entity.setEnabled(true);
    entity.setDataChangeLastModifiedBy(operator);

    accessKeyService.update(appId, entity);
  }