code: public FutureData<Identity> create(String label, boolean active, boolean master) {
          if (label == null || label.isEmpty()) {
              throw new IllegalArgumentException("A label is required");
          }
          String activeStr = active ? "active" : "disabled";
          FutureData<Identity> future = new FutureData<>();
          URI uri = newParams().forURL(config.newAPIEndpointURI(IDENTITY));
          try {
              Request request = config.http()
                      .postJSON(uri, new PageReader(newRequestCallback(future, new Identity(), config)))
                      .setData(new NewIdentity(label, activeStr, master));
              performRequest(future, request);
          } catch (JsonProcessingException e) {
              e.printStackTrace();
          }
          return future;
      }
docs: /*
  Create a new Identity
  
  @param label  text label to tag the identity with
  @param active whether the identity is active
  @param master if the identity is a master identity
  @return Newly created Identity