code: func (c *CAClientImpl) Revoke(request *api.RevocationRequest) (*api.RevocationResponse, error) {
  	if c.adapter == nil {
  		return nil, fmt.Errorf("no CAs configured for organization: %s", c.orgName)
  	}
  	if c.registrar.EnrollID == "" {
  		return nil, api.ErrCARegistrarNotFound
  	}
  	// Validate revocation request
  	if request == nil {
  		return nil, errors.New("revocation request is required")
  	}
  
  	registrar, err := c.getRegistrar(c.registrar.EnrollID, c.registrar.EnrollSecret)
  	if err != nil {
  		return nil, err
  	}
  
  	resp, err := c.adapter.Revoke(registrar.PrivateKey(), registrar.EnrollmentCertificate(), request)
  	if err != nil {
  		return nil, errors.Wrap(err, "failed to revoke")
  	}
  	return resp, nil
  }
docs: // Revoke a User with the Fabric CA
  // registrar: The User that is initiating the revocation
  // request: Revocation Request