code: public void deleteFromConference(
              String connId,
              String dnToDrop,
              KeyValueCollection reasons,
              KeyValueCollection extensions
      ) throws WorkspaceApiException {
          try {
              VoicecallsiddeletefromconferenceData deleteData =
                      new VoicecallsiddeletefromconferenceData();
              deleteData.setDnToDrop(dnToDrop);
              deleteData.setReasons(Util.toKVList(reasons));
              deleteData.setExtensions(Util.toKVList(extensions));
  
              DeleteFromConferenceData data = new DeleteFromConferenceData();
              data.data(deleteData);
              ApiSuccessResponse response = this.voiceApi.deleteFromConference(connId, data);
              throwIfNotOk("deleteFromConference", response);
          } catch (ApiException e) {
              throw new WorkspaceApiException("deleteFromConference failed", e);
          }
      }
docs: Delete the specified DN from the conference call. This operation can only be performed by the owner of the conference call.
  @param connId The connection ID of the conference.
  @param dnToDrop The DN of the party to drop from the conference.
  @param reasons Information on causes for, and results of, actions taken by the user of the current DN. For details about reasons, refer to the [*Genesys Events and Models Reference Manual*](https://docs.genesys.com/Documentation/System/Current/GenEM/Reasons). (optional)
  @param extensions Media device/hardware reason codes and similar information. For details about extensions, refer to the [*Genesys Events and Models Reference Manual*](https://docs.genesys.com/Documentation/System/Current/GenEM/Extensions). (optional)